Skip to content
Snippets Groups Projects
Commit 476043ec authored by Georg Ehrke's avatar Georg Ehrke
Browse files

add a proper 404

parent 60c0827b
No related branches found
No related tags found
No related merge requests found
......@@ -287,7 +287,8 @@ class OC{
if(file_exists(OC::$APPSROOT . '/apps/' . OC::$REQUESTEDAPP . '/' . OC::$REQUESTEDFILE)){
require_once(OC::$APPSROOT . '/apps/' . OC::$REQUESTEDAPP . '/' . OC::$REQUESTEDFILE);
}else{
header('404 Not Found');
header('HTTP/1.0 404 Not Found');
exit;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment