summaryrefslogtreecommitdiffstats
path: root/apps/files/download.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-06 23:00:36 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-06 23:00:36 +0200
commit1945cd694636def02a2b2d4fb36720b3f0aeeb10 (patch)
treeee041bce0aaa57f99a6680c2138c8fef00129869 /apps/files/download.php
parent5d55c709dddad44984446efa49ceb7084fc16b3f (diff)
downloadnextcloud-server-1945cd694636def02a2b2d4fb36720b3f0aeeb10.tar.gz
nextcloud-server-1945cd694636def02a2b2d4fb36720b3f0aeeb10.zip
ported the oc_template class
Diffstat (limited to 'apps/files/download.php')
-rwxr-xr-xapps/files/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/download.php b/apps/files/download.php
index e98cf2ecd31..2b5d4e2d876 100755
--- a/apps/files/download.php
+++ b/apps/files/download.php
@@ -31,7 +31,7 @@ $filename = $_GET["file"];
if(!OC_Filesystem::file_exists($filename)){
header("HTTP/1.0 404 Not Found");
- $tmpl = new OC_Template( '', '404', 'guest' );
+ $tmpl = new OCP\Template( '', '404', 'guest' );
$tmpl->assign('file',$filename);
$tmpl->printPage();
exit;