$_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" ));
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){