diff options
author | Robin <robin@Amaya.(none)> | 2010-04-23 00:16:20 +0200 |
---|---|---|
committer | Robin <robin@Amaya.(none)> | 2010-04-23 00:16:20 +0200 |
commit | 112a4b7e7352b7329b2544eb65b5600e6975bdc4 (patch) | |
tree | 9da1bdebb9c639ba129cc95cc908c3a4b9f01a3c /inc/lib_config.php | |
parent | b5dae01a8a0e9c1e4f3d60da74eae74dd8a9e007 (diff) | |
download | nextcloud-server-112a4b7e7352b7329b2544eb65b5600e6975bdc4.tar.gz nextcloud-server-112a4b7e7352b7329b2544eb65b5600e6975bdc4.zip |
bug fix first run wizzard
Diffstat (limited to 'inc/lib_config.php')
-rwxr-xr-x | inc/lib_config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/lib_config.php b/inc/lib_config.php index 98099cad72a..bbbe96e019e 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; |