Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/public.php b/public.php
index f033e1897c8..ae95624e8d9 100644
--- a/public.php
+++ b/public.php
@@ -68,7 +68,8 @@ try {
OC_App::loadApps(array('filesystem', 'logging'));
if (!\OC::$server->getAppManager()->isInstalled($app)) {
- throw new Exception('App not installed: ' . $app);
+ http_response_code(501);
+ exit;
}
OC_App::loadApp($app);
OC_User::setIncognitoMode(true);