laod apps ways earlier!

This commit is contained in:
Jakob Sack 2011-07-31 00:06:17 +02:00
parent c78e41b2d3
commit 0dab7f2e53
1 changed files with 6 additions and 4 deletions

View 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){