From 112a4b7e7352b7329b2544eb65b5600e6975bdc4 Mon Sep 17 00:00:00 2001 From: Robin <robin@Amaya.(none)> Date: Fri, 23 Apr 2010 00:16:20 +0200 Subject: [PATCH] bug fix first run wizzard --- inc/lib_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/lib_config.php b/inc/lib_config.php index 98099cad72..bbbe96e019 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; -- GitLab