diff options
Diffstat (limited to 'apps/files/download.php')
-rw-r--r-- | apps/files/download.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/download.php b/apps/files/download.php index 4e2478d1ad7..ff6aefbbe0f 100644 --- a/apps/files/download.php +++ b/apps/files/download.php @@ -22,14 +22,14 @@ */ // Init owncloud - + // Check if we are a user OCP\User::checkLoggedIn(); $filename = $_GET["file"]; -if(!OC_Filesystem::file_exists($filename)){ +if(!OC_Filesystem::file_exists($filename)) { header("HTTP/1.0 404 Not Found"); $tmpl = new OCP\Template( '', '404', 'guest' ); $tmpl->assign('file',$filename); |