HTTP_Exception_404 [ 404 ]:

MODPATH/pour_site/classes/Controller/Download.php [ 26 ]

21 	}
22 	
23 	public function download($file)
24 	{
25 		if ( ! $file->loaded() OR ! file_exists($file->full_path()))
26 			throw new HTTP_Exception_404;
27 		
28 		$mime_type = mime_content_type($file->full_path());
29 		
30 		/*$this->response->headers['Content-Disposition'] = 'attachment;filename='.substr(basename($file->path), 13);
31 		$this->response->headers['Connection'] = 'Keep-Alive';
  1. MODPATH/pour_site/classes/Controller/Download.php [ 20 ] » Controller_Download->download(arguments)

  2. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Download->action_attachment()

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

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

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

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

  7. DOCROOT/index.php [ 109 ] » Kohana_Request->execute()

Environment