Fuel\Core\PhpErrorException [ Notice ]:
Undefined index: HTTP_REFERER
16 17 /** 18 * 事前処理 19 */ 20 public function before() { 21 $referer = parse_url($_SERVER['HTTP_REFERER']); 22 if(($referer['path'] == '/matching/diagnose/result') AND Session::get('matching_diagnose')) { 23 Session::set(self::$sessionKey.'.matching_diagnose', Session::get('matching_diagnose')); 24 Session::delete('matching_diagnose'); 25 } 26 }
104 include COREPATH.'classes/error.php'; 105 class_alias('\Fuel\Core\Error', 'Error'); 106 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 107 } 108 109 return \Error::error_handler($severity, $message, $filepath, $line); 110}); 111 112function setup_autoloader() 113{ 114 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
16 17 /** 18 * 事前処理 19 */ 20 public function before() { 21 $referer = parse_url($_SERVER['HTTP_REFERER']); 22 if(($referer['path'] == '/matching/diagnose/result') AND Session::get('matching_diagnose')) { 23 Session::set(self::$sessionKey.'.matching_diagnose', Session::get('matching_diagnose')); 24 Session::delete('matching_diagnose'); 25 } 26 }
436 } 437 438 // fire any controller started events 439 \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started', '', 'none'); 440 441 $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance); 442 443 $response = $action->invokeArgs($this->controller_instance, $this->method_params); 444 445 $class->hasMethod('after') and $response = $class->getMethod('after')->invoke($this->controller_instance, $response); 446
48require APPPATH.'bootstrap.php'; 49 50// Generate the request, execute it and send the output. 51try 52{ 53 $response = Request::forge()->execute()->response(); 54} 55catch (HttpNotFoundException $e) 56{ 57 \Request::reset_request(true); 58