Merge pull request #9047 from owncloud/fix_preload_fundamental_apps

Load fundamental apps, before any possible customizing app may follow
This commit is contained in:
Lukas Reschke 2014-06-18 07:29:04 +02:00
commit d4bdcb7a9b
1 changed files with 2 additions and 0 deletions

View File

@ -696,6 +696,8 @@ class OC {
if (!self::$CLI and (!isset($_GET["logout"]) or ($_GET["logout"] !== 'true'))) {
try {
if (!OC_Config::getValue('maintenance', false) && !self::needUpgrade()) {
OC_App::loadApps(array('authentication'));
OC_App::loadApps(array('filesystem', 'logging'));
OC_App::loadApps();
}
self::checkSingleUserMode();