|
|
|
@ -100,7 +100,7 @@ class Download {
|
|
|
|
|
*/
|
|
|
|
|
protected function sendNotFound(){
|
|
|
|
|
header("HTTP/1.0 404 Not Found");
|
|
|
|
|
$tmpl = new OCP\Template('', '404', 'guest');
|
|
|
|
|
$tmpl = new \OCP\Template('', '404', 'guest');
|
|
|
|
|
$tmpl->assign('file', $this->filepath);
|
|
|
|
|
$tmpl->printPage();
|
|
|
|
|
exit;
|
|
|
|
|