Fuel\Core\PhpErrorException [ Notice ]:
Undefined index: page_title
155 // レイアウトパーツ 156 if ( isset($data['current']) ) 157 { 158 $this->theme->template->current = $data['current']; 159 } 160 if ( strlen($data['page_title']) <= 0 ) 161 { 162 $data['page_title'] = \Model_System_Config::val('site_title'); 163 } 164 else 165 {
98 include COREPATH.'classes/errorhandler.php'; 99 class_alias('\Fuel\Core\Errorhandler', 'Errorhandler'); 100 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 101 } 102 103 return \Errorhandler::error_handler($severity, $message, $filepath, $line); 104}); 105 106function setup_autoloader() 107{ 108 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
155 // レイアウトパーツ 156 if ( isset($data['current']) ) 157 { 158 $this->theme->template->current = $data['current']; 159 } 160 if ( strlen($data['page_title']) <= 0 ) 161 { 162 $data['page_title'] = \Model_System_Config::val('site_title'); 163 } 164 else 165 {
247 ) 248 ); 249 $data = $this->_get_list($data, $param, $dir); 250 251 // ページ表示 252 $this->theme_data('blog/index', $data); 253 } 254 255 256 // 一覧取得 257 private function _get_list($data = array(), $param = array(), $dir1 = '', $dir2 = '', $post_param = array())
68 $this->_tag_list($dir2); 69 } 70 // カテゴリ別一覧 71 elseif ( strlen($dir2) == 0 ) 72 { 73 $this->_category_list($dir1); 74 } 75 // 詳細 76 else 77 { 78 $this->_detail($dir1, $dir2);
32 $args = array_values($args); 33 } 34 35 list($instance, $method) = $callback; 36 37 return $instance->{$method}(...$args); 38 } 39 40 // static call? 41 elseif (is_array($callback) and isset($callback[1]) and is_string($callback[0])) 42 {
76 } 77 78 // check if the action method exists 79 if (method_exists($this, $controller_method)) 80 { 81 return call_fuel_func_array(array($this, $controller_method), $arguments); 82 } 83 84 // if not, we got ourselfs a genuine 404! 85 throw new \HttpNotFoundException(); 86 }
449 // fire any controller started events 450 \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started', '', 'none'); 451 452 $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance); 453 454 $response = $action->invokeArgs($this->controller_instance, $this->method_params); 455 456 $class->hasMethod('after') and $response = $class->getMethod('after')->invoke($this->controller_instance, $response); 457 458 // fire any controller finished events 459 \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished', '', 'none');
81 $response = Response::forge($response); 82 } 83 } 84 elseif ($e === false) 85 { 86 $response = Request::forge()->execute()->response(); 87 } 88 elseif ($route) 89 { 90 $response = Request::forge($route, false)->execute(array($e))->response(); 91 }
102{ 103 // Boot the app... 104 require APPPATH.'bootstrap.php'; 105 106 // ... and execute the main request 107 $response = $routerequest(); 108} 109catch (HttpBadRequestException $e) 110{ 111 $response = $routerequest('_400_', $e); 112}