]> source.dussan.org Git - nextcloud-server.git/commitdiff
laod apps ways earlier!
authorJakob Sack <kde@jakobsack.de>
Sat, 30 Jul 2011 22:06:17 +0000 (00:06 +0200)
committerJakob Sack <kde@jakobsack.de>
Sat, 30 Jul 2011 22:06:17 +0000 (00:06 +0200)
lib/base.php

index 5b88bd899e901ff649f41da25c21da501a9f272d..4fa38286befc044c5a3d3905ac464b96d95f07d2 100644 (file)
@@ -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){