Browse Source

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

End processing when file is not found
tags/v8.1RC2
Morris Jobke 9 years ago
parent
commit
3de945d13d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/private/files.php

+ 1
- 0
lib/private/files.php 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');

Loading…
Cancel
Save