SYSPATH/core/Kohana.php[ 139 ]
134
135 // Register a shutdown function to handle system.shutdown events
136 register_shutdown_function(array('Kohana', 'shutdown'));
137
138 // Send default text/html UTF-8 header
139 header('Content-Type: text/html; charset='.Kohana::CHARSET);
140
141 // Load i18n
142 new I18n;
143
144 // Enable exception handling
-
{PHP internal call} » Kohana_PHP_Exception_Core::shutdown_handler(arguments )
0NULL
-
SYSPATH/core/Event.php[ 210 ] » call_user_func_array(arguments )
function_namearray(2) ( 0 => string(20) "Kohana_PHP_Exception" 1 => string(16) "shutdown_handler" )
parametersarray(1) ( 0 => NULL )
205 Event::$data =& $data; 206 $callbacks = Event::get($name); 207 208 foreach ($callbacks as $callback) 209 { 210 call_user_func_array($callback, array(&$data)); 211 } 212 213 // Do this to prevent data from getting 'stuck' 214 $clear_data = ''; 215 Event::$data =& $clear_data; -
SYSPATH/core/Kohana.php[ 528 ] » Event_Core::run(arguments )
namestring(15) "system.shutdown"523 return; 524 525 $run = TRUE; 526 527 // Run system.shutdown event 528 Event::run('system.shutdown'); 529 530 // Close output buffers 531 Kohana::close_buffers(TRUE); 532 533 // Run the output event -
{PHP internal call} » Kohana_Core::shutdown()