Fix namespace
This commit is contained in:
parent
b520acf6d3
commit
f1e3e1bf27
@ -100,7 +100,7 @@ class Download {
|
|||||||
*/
|
*/
|
||||||
protected function sendNotFound(){
|
protected function sendNotFound(){
|
||||||
header("HTTP/1.0 404 Not Found");
|
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->assign('file', $this->filepath);
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user