macros/modules/core/libraries/Router.php [ 102 ]
97 // Last chance to set routing before a 404 is triggered
98 Event::run('system.post_routing');
99
100 if (empty(Router::$controller) || empty(Router::$controller_path)) {
101 // No controller was found, so no page can be rendered
102 throw new Kohana_404_Exception(Router::$current_uri . Router::$url_suffix . Router::$query_string);
103 }
104 }
105
106 /**
107 * Attempts to determine the current URI using CLI, GET, PATH_INFO, ORIG_PATH_INFO, or PHP_SELF.
-
SYSPATH/core/Event.php [ 209 ] edit » Router_Core::setup()
204 self::$data =& $data; 205 $callbacks = self::get($name); 206 207 foreach ($callbacks as $callback) 208 { 209 call_user_func($callback, $data); 210 } 211 212 // Do this to prevent data from getting 'stuck' 213 $clear_data = ''; 214 self::$data =& $clear_data;
-
SYSPATH/core/Bootstrap.php [ 56 ] edit » Event::run()
51 52 // Prepare the system 53 Event::run('system.ready'); 54 55 // Determine routing 56 Event::run('system.routing'); 57 58 // End system_initialization 59 Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization'); 60 61 // Make the magic happen!
-
DOCROOT/macros/bootstrap.php [ 58 ] edit » require(arguments)
0
string(64) "/www/hosting/zsslapanice.cz/www/macros/system/core/Bootstrap.php"
53 // Defaultni definice promennych 54 require_once(MACROSPATH . 'ini' . EXT); 55 56 bfr_clean(); 57 58 require SYSPATH . 'core/Bootstrap' . EXT;
-
DOCROOT/index.php [ 5 ] edit » require(arguments)
0
string(52) "/www/hosting/zsslapanice.cz/www/macros/bootstrap.php"
1 <?php 2 3 define('INDEXPATH', __FILE__); 4 5 require __DIR__ . '/macros/bootstrap.php';