Changeset 2882
- Timestamp:
- 06/23/2008 06:29:57 PM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/core/Kohana.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/Kohana.php
r2879 r2882 266 266 // Run system.post_controller_constructor 267 267 Event::run('system.post_controller_constructor'); 268 268 269 269 // Controller method name, used for calling 270 270 $method = Router::$method; … … 804 804 // Find the file and return its filename 805 805 $paths = Config::include_paths(); 806 806 807 807 foreach ($paths as $path) 808 808 { … … 933 933 $files = self::find_file('i18n', $filename); 934 934 935 if ( ! empty($files)) 935 if ( ! empty($files)) 936 936 { 937 937 foreach ($files as $file) … … 997 997 $files = self::find_file('l10n', Config::item('locale.language').'/'.$filename); 998 998 999 if ( ! empty($files)) 999 if ( ! empty($files)) 1000 1000 { 1001 1001 foreach ($files as $file) … … 1064 1064 if (is_array($array[$key]) AND ! empty($keys)) 1065 1065 { 1066 $array = &$array[$key];1066 $array = $array[$key]; 1067 1067 } 1068 1068 else
