Fix namespace
This commit is contained in:
parent
b520acf6d3
commit
f1e3e1bf27
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user