diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-07-31 00:06:17 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-07-31 00:06:17 +0200 |
commit | 0dab7f2e53c883b8d61124a87888e33307f0c39f (patch) | |
tree | 5336a2311b56ba23306154fb8f1a3f5d906bfda7 /lib | |
parent | c78e41b2d30f325246c6eecaeec2a3e79ce2be9e (diff) | |
download | nextcloud-server-0dab7f2e53c883b8d61124a87888e33307f0c39f.tar.gz nextcloud-server-0dab7f2e53c883b8d61124a87888e33307f0c39f.zip |
laod apps ways earlier!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php index 5b88bd899e9..4fa38286bef 100644 --- a/lib/base.php +++ b/lib/base.php @@ -88,6 +88,12 @@ if( !OC_Config::getValue( "installed", false )){ $_SESSION['user_id'] = ''; } +// Load Apps +// This includes plugins for users and filesystems as well +if(!$error and !$RUNTIME_NOAPPS ){ + OC_App::loadApps(); +} + OC_User::useBackend( OC_Config::getValue( "userbackend", "database" )); OC_Group::setBackend( OC_Config::getValue( "groupbackend", "database" )); @@ -106,10 +112,6 @@ OC_Util::addScript( "js" ); OC_Util::addStyle( "jquery-ui-1.8.14.custom" ); OC_Util::addStyle( "styles" ); -// Load Apps -if(!$error and !$RUNTIME_NOAPPS ){ - OC_App::loadApps(); -} // FROM Connect.php function OC_CONNECT_TEST($path,$user,$password){ |