Changeset 3308 for trunk/modules
- Timestamp:
- 08/08/2008 07:24:22 PM (4 months ago)
- Location:
- trunk/modules/user_guide
- Files:
-
- 2 modified
-
controllers/user_guide.php (modified) (1 diff)
-
views/user_guide/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/user_guide/controllers/user_guide.php
r3209 r3308 27 27 if ($this->uri->segment(2) == FALSE) 28 28 { 29 url::redirect('user_guide/'.current(explode('_', Kohana::config('locale.language '))).'/kohana/about');29 url::redirect('user_guide/'.current(explode('_', Kohana::config('locale.language.0'))).'/kohana/about'); 30 30 } 31 31 } 32 32 33 public function _ remap()33 public function __call($method, $args) 34 34 { 35 35 $language = strtolower($this->uri->segment(2)); -
trunk/modules/user_guide/views/user_guide/template.php
r3163 r3308 1 1 <?php 2 2 3 $lang = substr(Kohana::config('locale.language '), 0, 2);3 $lang = substr(Kohana::config('locale.language.0'), 0, 2); 4 4 5 5 ?>
