Fix namespace

pull/1/head
Victor Dubiniuk 11 years ago
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…
Cancel
Save