HTTP_Exception_404 [ 404 ]:

APPPATH/classes/Controller/News.php [ 15 ]

10 	}
11 
12 	public function action_article(){
13 		$uri=$this->request->param('uri');
14 		$data=Model_News::by_uri($uri);
15 		if(!$data)throw new HTTP_Exception_404();
16 		if(!$data['enabled'])throw new HTTP_Exception_404();
17 		$this->class='article';
18 		$this->title=htmlspecialchars($data['title'],ENT_QUOTES|ENT_HTML5);
19 		$this->content=View::factory('frontend/news/article',$data);
20 	}
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_News->action_article()

  2. {PHP internal call} » Kohana_Controller->execute()

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 119 ] » Kohana_Request->execute()

Environment