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