diff --git a/inc/lib_config.php b/inc/lib_config.php index 98099cad72a44f5064e0d7e241fb5d9648a7bd59..bbbe96e019e04f5b5b166f5885eb9fe123d157f4 100755 --- a/inc/lib_config.php +++ b/inc/lib_config.php @@ -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;