configure users/groups before loading apps
This commit is contained in:
parent
f8c560a35a
commit
0503c3499e
|
@ -88,15 +88,16 @@ if( !OC_Config::getValue( "installed", false )){
|
||||||
$_SESSION['user_id'] = '';
|
$_SESSION['user_id'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
OC_User::useBackend( OC_Config::getValue( "userbackend", "database" ));
|
||||||
|
OC_Group::setBackend( OC_Config::getValue( "groupbackend", "database" ));
|
||||||
|
|
||||||
// Load Apps
|
// Load Apps
|
||||||
// This includes plugins for users and filesystems as well
|
// This includes plugins for users and filesystems as well
|
||||||
if(!$error and !$RUNTIME_NOAPPS ){
|
if(!$error and !$RUNTIME_NOAPPS ){
|
||||||
OC_App::loadApps();
|
OC_App::loadApps();
|
||||||
}
|
}
|
||||||
|
|
||||||
OC_User::useBackend( OC_Config::getValue( "userbackend", "database" ));
|
|
||||||
OC_Group::setBackend( OC_Config::getValue( "groupbackend", "database" ));
|
|
||||||
|
|
||||||
// Was in required file ... put it here
|
// Was in required file ... put it here
|
||||||
OC_Filesystem::registerStorageType('local','OC_Filestorage_Local',array('datadir'=>'string'));
|
OC_Filesystem::registerStorageType('local','OC_Filestorage_Local',array('datadir'=>'string'));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue