com web/doc-editor: When a project is disable, we don't display it into the login window: php/ProjectManager.php

From: Date: Thu, 24 Jul 2014 17:47:07 +0000
Subject: com web/doc-editor: When a project is disable, we don't display it into the login window: php/ProjectManager.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12643@lists.php.net to get a copy of this message
Commit: 3de511813629417867c7769031f81d221503dd9a Author: Yannick Torrès <yannick.torres@gmail.com> Thu, 24 Jul 2014 19:47:07 +0200 Parents: 32a19ea05baabd04a197d9fc60c084bbd11ab1ac Branches: master Link: http://git.php.net/?p=web/doc-editor.git;a=commitdiff;h=3de511813629417867c7769031f81d221503dd9a Log: When a project is disable, we don't display it into the login window Changed paths: M php/ProjectManager.php Diff: diff --git a/php/ProjectManager.php b/php/ProjectManager.php index f87ff2d..0675c45 100644 --- a/php/ProjectManager.php +++ b/php/ProjectManager.php @@ -34,7 +34,7 @@ class ProjectManager if( $k == "GLOBAL_CONFIGURATION" ) { continue; } // Check if this project is enable - if( isset($this->appConf[$k]['project.enable']) ) + if( $this->appConf[$k]['project.enable'] == "1" ) { $this->availableProject[$i] = array( 'code' => $this->appConf[$k]['project.code'],

« previous php.doc.cvs (#12643) next »