summaryrefslogtreecommitdiffstats
path: root/inc/lib_config.php
diff options
context:
space:
mode:
authorRobin <robin@Amaya.(none)>2010-04-23 00:16:20 +0200
committerRobin <robin@Amaya.(none)>2010-04-23 00:16:20 +0200
commit112a4b7e7352b7329b2544eb65b5600e6975bdc4 (patch)
tree9da1bdebb9c639ba129cc95cc908c3a4b9f01a3c /inc/lib_config.php
parentb5dae01a8a0e9c1e4f3d60da74eae74dd8a9e007 (diff)
downloadnextcloud-server-112a4b7e7352b7329b2544eb65b5600e6975bdc4.tar.gz
nextcloud-server-112a4b7e7352b7329b2544eb65b5600e6975bdc4.zip
bug fix first run wizzard
Diffstat (limited to 'inc/lib_config.php')
-rwxr-xr-xinc/lib_config.php2
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;