Skip to content
Snippets Groups Projects
Commit 112a4b7e authored by Robin Appelman's avatar Robin Appelman
Browse files

bug fix first run wizzard

parent b5dae01a
Branches
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ class OC_CONFIG{ ...@@ -106,7 +106,7 @@ class OC_CONFIG{
*/ */
public static function writeadminlisener(){ public static function writeadminlisener(){
global $CONFIG_INSTALLED; 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 $DOCUMENTROOT;
global $SERVERROOT; global $SERVERROOT;
global $WEBROOT; global $WEBROOT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment