Show
Ignore:
Timestamp:
10/18/2007 02:57:13 PM (14 months ago)
Author:
Shadowhand
Message:

Small changes:

  • Fixed core to match up with new config files,
  • Updated libraries to match up with new config files
  • Added more error handling to Validation::upload()
  • Optimized html::anchor()
  • Added html::file_anchor() with the same params as html::anchor()
Location:
trunk/modules/user_guide
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_guide/controllers/user_guide.php

    r839 r846  
    2323                 
    2424                if ($this->uri->segment(2) == FALSE) 
    25                         url::redirect('user_guide/'.Config::item('core.locale').'/kohana/about'); 
     25                { 
     26                        url::redirect('user_guide/'.current(explode('_', Config::item('locale.language')).'/kohana/about'); 
     27                } 
    2628        } 
    2729 
  • trunk/modules/user_guide/views/user_guide/template.php

    r808 r846  
    11<?php 
    22 
    3 $lang = substr(Config::item('core.locale'), 0, 2); 
     3$lang = substr(Config::item('locale.language'), 0, 2); 
    44 
    55?>