SYSPATH/classes/kohana/view.php [ 252 ]
247 */
248 public function set_filename($file)
249 {
250 if (($path = Kohana::find_file('views', $file)) === FALSE)
251 {
252 throw new Kohana_View_Exception('The requested view :file could not be found', array(
253 ':file' => $file,
254 ));
255 }
256
257 // Store the file path locally
-
SYSPATH/classes/kohana/view.php [ 137 ] » Kohana_View->set_filename(arguments)
0
string(17) "errors/server/404"
132 */ 133 public function __construct($file = NULL, array $data = NULL) 134 { 135 if ($file !== NULL) 136 { 137 $this->set_filename($file); 138 } 139 140 if ($data !== NULL) 141 { 142 // Add the values to the current data
-
SYSPATH/classes/kohana/view.php [ 30 ] » Kohana_View->__construct(arguments)
0
string(17) "errors/server/404"
1
NULL
25 * @param array array of values 26 * @return View 27 */ 28 public static function factory($file = NULL, array $data = NULL) 29 { 30 return new View($file, $data); 31 } 32 33 /** 34 * Captures the output that is generated when a view is included. 35 * The view data will be extracted to make local variables. This method
-
APPPATH/bootstrap.php [ 240 ] » Kohana_View::factory(arguments)
0
string(17) "errors/server/404"
235 // Log the error 236 Kohana::$log->add(Kohana::ERROR, Kohana::exception_text($e)); 237 238 // Create a 404 response 239 $request->status = 404; 240 $request->response = View::factory('errors/server/404'); 241 } 242 243 /** 244 * Display the request response. 245 */
-
DOCROOT/index.php [ 109 ] » require(arguments)
0
string(21) "APPPATH/bootstrap.php"
104 // Load empty core extension 105 require SYSPATH.'classes/kohana'.EXT; 106 } 107 108 // Bootstrap the application 109 require APPPATH.'bootstrap'.EXT;