bug fix first run wizzard
This commit is contained in:
parent
b5dae01a8a
commit
112a4b7e73
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class OC_CONFIG{
|
|||
*/
|
||||
public static function writeadminlisener(){
|
||||
global $CONFIG_INSTALLED;
|
||||
if(OC_USER::ingroup($_SESSION['username'],'admin') or $CONFIG_INSTALLED==false){
|
||||
if($CONFIG_INSTALLED==false or OC_USER::ingroup($_SESSION['username'],'admin')){
|
||||
global $DOCUMENTROOT;
|
||||
global $SERVERROOT;
|
||||
global $WEBROOT;
|
||||
|
|
Loading…
Reference in a new issue