Fuel\Core\PhpErrorException [ Notice ]:
Undefined index: http:
90 } 91 } 92 else 93 { 94 $this->template->set_global('seg',$segments[0]); 95 $bread_crumbs['/'.$segments[0].'/'] = $bread_labels[$segments[0]]; 96 } 97 } 98 99 if(isset($segments) && $segments[0] !== 'const' && $segments[0] !== 'news') 100 {
93 include COREPATH.'classes/error.php'; 94 class_alias('\Fuel\Core\Error', 'Error'); 95 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 96 } 97 98 return \Error::error_handler($severity, $message, $filepath, $line); 99}); 100 101function setup_autoloader() 102{ 103 Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
90 } 91 } 92 else 93 { 94 $this->template->set_global('seg',$segments[0]); 95 $bread_crumbs['/'.$segments[0].'/'] = $bread_labels[$segments[0]]; 96 } 97 } 98 99 if(isset($segments) && $segments[0] !== 'const' && $segments[0] !== 'news') 100 {
439 // fire any controller started events 440 \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started', '', 'none'); 441 442 $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance); 443 444 $response = $action->invokeArgs($this->controller_instance, $this->method_params); 445 446 $class->hasMethod('after') and $response = $class->getMethod('after')->invoke($this->controller_instance, $response); 447 448 // fire any controller finished events 449 \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished', '', 'none');
44require APPPATH.'bootstrap.php'; 45 46// Generate the request, execute it and send the output. 47try 48{ 49 $response = Request::forge()->execute()->response(); 50} 51catch (HttpNotFoundException $e) 52{ 53 \Request::reset_request(true); 54