public function serveFile($path, $mime_type, $download = false)
 {
     //Dase_Log::debug(LOG_FILE,'serving '.$path.' as '.$mime_type);
     $response = new Dase_Http_Response($this);
     $response->serveFile($path, $mime_type, $download);
     exit;
 }
Beispiel #2
0
 public function serveFile($path, $mime_type, $download = false)
 {
     $response = new Dase_Http_Response($this);
     $response->serveFile($path, $mime_type, $download);
     exit;
 }