Example #1
0
 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;
 }
Example #2
0
 public function serveFile($path, $mime_type, $download = false)
 {
     $response = new Dase_Http_Response($this);
     $response->serveFile($path, $mime_type, $download);
     exit;
 }