APPPATH/classes/HTTP/Exception/404.php [ 14 ]
9 *
10 * @return Response
11 */
12 public function get_response()
13 {
14 if( Request::current()->secure() )
15 define('BASE_URL', URL::base('https',true) );
16 elseif( Request::current()->protocol() === "HTTP/1.1" )
17 define('BASE_URL', URL::base('http',true) );
18 else
19 define('BASE_URL', URL::base('http',TRUE) );
-
SYSPATH/classes/Kohana/Request.php [ 983 ] » HTTP_Exception_404->get_response()
978 if ( ! $this->_route instanceof Route) 979 { 980 return HTTP_Exception::factory(404, 'Unable to find a route to match the URI: :uri', array( 981 ':uri' => $this->_uri, 982 ))->request($this) 983 ->get_response(); 984 } 985 986 if ( ! $this->_client instanceof Request_Client) 987 { 988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(
-
DOCROOT/index.php [ 117 ] » Kohana_Request->execute()
112 /** 113 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 114 * If no source is specified, the URI will be automatically detected. 115 */ 116 echo Request::factory(TRUE, array(), FALSE) 117 ->execute() 118 ->send_headers(TRUE) 119 ->body(); 120 }