Changeset 2627
- Timestamp:
- 05/05/08 10:59:39 (4 months ago)
- Location:
- trunk/system
- Files:
-
- 4 modified
-
core/Bootstrap.php (modified) (3 diffs)
-
core/Config.php (modified) (1 diff)
-
libraries/Input.php (modified) (1 diff)
-
libraries/Session.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/Bootstrap.php
r2148 r2627 17 17 define('KOHANA_IS_WIN', PHP_SHLIB_SUFFIX === 'dll'); 18 18 19 // Kohana benchmarks are prefixed by a random stringto prevent collisions20 define('SYSTEM_BENCHMARK', uniqid());19 // Kohana benchmarks are prefixed to prevent collisions 20 define('SYSTEM_BENCHMARK', 'system_benchmark'); 21 21 22 22 // Load benchmarking support … … 45 45 Benchmark::start(SYSTEM_BENCHMARK.'_system_initialization'); 46 46 47 // Prepare the system 47 48 Event::run('system.ready'); 49 50 // Determine routing 48 51 Event::run('system.routing'); 49 52 … … 51 54 Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization'); 52 55 56 // Make the magic happen! 53 57 Event::run('system.execute'); 58 59 // Clean up and exit 54 60 Event::run('system.shutdown'); -
trunk/system/core/Config.php
r2613 r2627 57 57 58 58 // Get the value of the key string 59 $value = Kohana::key_string( $key, self::$conf);59 $value = Kohana::key_string(self::$conf, $key); 60 60 61 61 return -
trunk/system/libraries/Input.php
r2563 r2627 156 156 $return_array = (count($args) > 1); 157 157 158 // Compose the data to return159 158 $data = array(); 160 159 while ($key = array_shift($args)) -
trunk/system/libraries/Session.php
r2616 r2627 407 407 return $_SESSION; 408 408 409 $result = isset($_SESSION[$key]) ? $_SESSION[$key] : Kohana::key_string($ key, $_SESSION);409 $result = isset($_SESSION[$key]) ? $_SESSION[$key] : Kohana::key_string($_SESSION, $key); 410 410 411 411 return ($result === NULL) ? $default : $result;
