aboutsummaryrefslogtreecommitdiffstats
path: root/public.php
diff options
context:
space:
mode:
Diffstat (limited to 'public.php')
-rw-r--r--public.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/public.php b/public.php
index dfdd4c52af9..eed63948112 100644
--- a/public.php
+++ b/public.php
@@ -24,6 +24,11 @@ try {
$parts = explode('/', $file, 2);
$app = $parts[0];
+ // Load all required applications
+ \OC::$REQUESTEDAPP = $app;
+ OC_App::loadApps(array('authentication'));
+ OC_App::loadApps(array('filesystem', 'logging'));
+
OC_Util::checkAppEnabled($app);
OC_App::loadApp($app);
OC_User::setIncognitoMode(true);