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:
authorBart Visscher <bartv@thisnet.nl>2012-06-27 00:24:16 +0400
committerBart Visscher <bartv@thisnet.nl>2012-06-27 03:05:12 +0400
commit153ee9dcfa62fa7efaf365890884c516d8bc11a1 (patch)
tree5c806622520ab2614edb31e8b63e93d52c692510 /public.php
parentdab58f3464ec8aded5e0da4b050e5ee3d0bc5cfc (diff)
Check if app is enabled before loading in remote and public.php
Diffstat (limited to 'public.php')
-rw-r--r--public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/public.php b/public.php
index 19c02a7a027..8846769f467 100644
--- a/public.php
+++ b/public.php
@@ -10,6 +10,7 @@ if(is_null($file)){
$parts=explode('/',$file,2);
$app=$parts[0];
+OC_Util::checkAppEnabled($app);
OC_App::loadApp($app);
require_once(OC_App::getAppPath($app) .'/'. $parts[1]);