SYSPATH/classes/Kohana/Request/Client/Internal.php [ 78 ]
73 {
74 if ( ! class_exists($prefix.$controller))
75 {
76 throw HTTP_Exception::factory(404,
77 'The requested URL :uri was not found on this server.',
78 array(':uri' => $request->uri())
79 )->request($request);
80 }
81
82 // Load the controller using reflection
83 $class = new ReflectionClass($prefix.$controller);
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()
109 $orig_response = $response = Response::factory(); 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 [ 994 ] » Kohana_Request_Client->execute()
989 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 990 ':uri' => $this->_uri, 991 )); 992 } 993 994 return $this->_group->execute($this); 995 } 996 997 /** 998 * Returns whether this request is the initial request Kohana received. 999 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 130 ] » Kohana_Request->execute()
125 /** 126 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 127 * If no source is specified, the URI will be automatically detected. 128 */ 129 echo Request::factory(TRUE, array(), FALSE) 130 ->execute() 131 ->send_headers(TRUE) 132 ->body(); 133 }