SYSPATH/classes/Kohana/Request/Client/Internal.php [ 75 ]
70 {
71 if ( ! class_exists($prefix.$controller))
72 {
73 throw HTTP_Exception::factory(404,
74 'The requested URL :uri was not found on this server.',
75 [':uri' => $request->uri()]
76 )->request($request);
77 }
78
79 // Load the controller using reflection
80 $class = new ReflectionClass($prefix.$controller);
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ public * _requested_with => NULL public * _method => string(3) "GET" public * _protocol => string(8) "HTTP/2.0" public * _secure => bool TRUE public * _referrer => string(45) "http://renovationsrealtremblay.com/index.html" public * _route => object Route(5)
{ public * _filters => array(0) public * _uri => string(5) "<uri>" public * _regex => array(1) ( "uri" => string(2) ".+" ) public * _defaults => array(2) ( "controller" => string(5) "error" "action" => string(3) "404" ) public * _route_regex => string(17) "#^(?P<uri>.+)$#uD" }
public * _routes => array(0) public * _header => object HTTP_Header(0){ }
public * _body => NULL public * _directory => string(0) "" public * _controller => string(5) "Error" public * _action => string(3) "404" public * _uri => string(10) "index.html" public * _external => bool FALSE public * _params => array(1) ( "uri" => string(10) "index.html" ) public * _get => array(0) public * _post => array(0) public * _cookies => array(0) public * _client => object Request_Client_Internal(9){ public * _cache => NULL public * _follow => bool FALSE public * _follow_headers => array(1) ( 0 => string(13) "authorization" ) public * _strict_redirect => bool TRUE public * _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) public * _max_callback_depth => integer 5 public * _callback_depth => integer 1 public * _callback_params => array(0) public * _previous_environment => NULL }
}1
object Response(5)
{ public * _status => integer 200 public * _header => object HTTP_Header(0)
{ }
public * _body => string(0) "" public * _cookies => array(0) public * _protocol => string(8) "HTTP/2.0" }109 $orig_response = $response = Response::factory(['_protocol' => $request->protocol()]); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ public * _requested_with => NULL public * _method => string(3) "GET" public * _protocol => string(8) "HTTP/2.0" public * _secure => bool TRUE public * _referrer => string(45) "http://renovationsrealtremblay.com/index.html" public * _route => object Route(5)
{ public * _filters => array(0) public * _uri => string(5) "<uri>" public * _regex => array(1) ( "uri" => string(2) ".+" ) public * _defaults => array(2) ( "controller" => string(5) "error" "action" => string(3) "404" ) public * _route_regex => string(17) "#^(?P<uri>.+)$#uD" }
public * _routes => array(0) public * _header => object HTTP_Header(0){ }
public * _body => NULL public * _directory => string(0) "" public * _controller => string(5) "Error" public * _action => string(3) "404" public * _uri => string(10) "index.html" public * _external => bool FALSE public * _params => array(1) ( "uri" => string(10) "index.html" ) public * _get => array(0) public * _post => array(0) public * _cookies => array(0) public * _client => object Request_Client_Internal(9){ public * _cache => NULL public * _follow => bool FALSE public * _follow_headers => array(1) ( 0 => string(13) "authorization" ) public * _strict_redirect => bool TRUE public * _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) public * _max_callback_depth => integer 5 public * _callback_depth => integer 1 public * _callback_params => array(0) public * _previous_environment => NULL }
}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * Can be used to test for sub requests.
-
DOCROOT/public/index.php [ 140 ] » Kohana_Request->execute()
135 /** 136 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 137 * If no source is specified, the URI will be automatically detected. 138 */ 139 echo Request::factory(TRUE, [], FALSE) 140 ->execute() 141 ->send_headers(TRUE) 142 ->body(); 143 }