diff --git a/lib/base.php b/lib/base.php index f8f9362a64..231819b36a 100644 --- a/lib/base.php +++ b/lib/base.php @@ -287,7 +287,7 @@ class OC{ if(file_exists(OC::$APPSROOT . '/apps/' . OC::$REQUESTEDAPP . '/' . OC::$REQUESTEDFILE)){ require_once(OC::$APPSROOT . '/apps/' . OC::$REQUESTEDAPP . '/' . OC::$REQUESTEDFILE); }else{ - echo "WTF"; + header('404 Not Found') } }