Fix is_multiphp() always returning false

This commit is contained in:
Ludovic Poujol 2019-03-29 15:55:43 +01:00
parent 93608a4147
commit 1331bb96b4
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ function load_config_cluster($cluster) {
*
* @return boolean - True when it's a multi PHP system
*/
function is_multiphp()
{
function is_multiphp() {
global $conf;
return array_key_exists('php_versions', $conf) && count($conf['php_versions']) > 1;
}