Skip to content
Snippets Groups Projects
Commit 0dab7f2e authored by Jakob Sack's avatar Jakob Sack
Browse files

laod apps ways earlier!

parent c78e41b2
Branches
No related tags found
No related merge requests found
...@@ -88,6 +88,12 @@ if( !OC_Config::getValue( "installed", false )){ ...@@ -88,6 +88,12 @@ if( !OC_Config::getValue( "installed", false )){
$_SESSION['user_id'] = ''; $_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_User::useBackend( OC_Config::getValue( "userbackend", "database" ));
OC_Group::setBackend( OC_Config::getValue( "groupbackend", "database" )); OC_Group::setBackend( OC_Config::getValue( "groupbackend", "database" ));
...@@ -106,10 +112,6 @@ OC_Util::addScript( "js" ); ...@@ -106,10 +112,6 @@ OC_Util::addScript( "js" );
OC_Util::addStyle( "jquery-ui-1.8.14.custom" ); OC_Util::addStyle( "jquery-ui-1.8.14.custom" );
OC_Util::addStyle( "styles" ); OC_Util::addStyle( "styles" );
// Load Apps
if(!$error and !$RUNTIME_NOAPPS ){
OC_App::loadApps();
}
// FROM Connect.php // FROM Connect.php
function OC_CONNECT_TEST($path,$user,$password){ function OC_CONNECT_TEST($path,$user,$password){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment