diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index bee8617bda817d24772beca2ded722762e87ff53..fc4bbe93ea23f9f8f0a321605acbbb671cd9a36e 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -1486,6 +1486,10 @@ class project extends base { if (isset($this->_aConfig['projects']['json']['active']) && $this->_aConfig['projects']['json']['active']) { + $sCfgfile=$this->_getConfigFile($sId); + if (!$sCfgfile || !file_exists($sCfgfile)){ + return false; + } $this->_aPrjConfig = json_decode(file_get_contents($this->_getConfigFile($sId)), true); } if (isset($this->_aConfig['projects']['ldap']['active']) && $this->_aConfig['projects']['ldap']['active']) {