Changeset 1754 for trunk/system/core/Kohana.php
- Timestamp:
- 01/20/2008 05:14:16 PM (12 months ago)
- Files:
-
- 1 modified
-
trunk/system/core/Kohana.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/Kohana.php
r1753 r1754 13 13 14 14 // The singleton instance of the controller 15 public static $instance = NULL;15 public static $instance; 16 16 17 17 // Output buffering level … … 177 177 final public static function & instance() 178 178 { 179 if (self::$instance == FALSE)179 if (self::$instance === NULL) 180 180 { 181 181 Benchmark::start(SYSTEM_BENCHMARK.'_controller_setup'); … … 228 228 } 229 229 230 // Loadthe controller231 $controller = new $controller ();230 // Initialize the controller 231 $controller = new $controller; 232 232 233 233 // Run system.post_controller_constructor
