Merge pull request #16527 from owncloud/end-processing-when-404

End processing when file is not found
This commit is contained in:
Morris Jobke 2015-05-27 09:36:05 +02:00
commit 3de945d13d

View file

@ -138,6 +138,7 @@ class OC_Files {
header("HTTP/1.0 404 Not Found");
$tmpl = new OC_Template('', '404', 'guest');
$tmpl->printPage();
exit();
} else {
header("HTTP/1.0 403 Forbidden");
die('403 Forbidden');