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 {
178 ) 179 ); 180 $data = $this->_get_list($data, $param, 'author', $user_id); 181 182 // ページ表示 183 $this->theme_data('blog/index', $data); 184 } 185 186 187 // タグ別一覧 188 public function _tag_list($title = '')
58 $this->_monthly_list($dir2); 59 } 60 // 著者別一覧 61 elseif ( $dir1 == 'author' ) 62 { 63 $this->_author_list($dir2); 64 } 65 // タグ別一覧 66 elseif ( $dir1 == 'tag' ) 67 { 68 $this->_tag_list($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}