mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
"setup/setup-cli.php --exit-codes" was not reporting 11: Your Database is not working!
This commit is contained in:
parent
d5777290ab
commit
e134826088
@ -578,7 +578,7 @@ function list_exit_codes()
|
|||||||
//if (isset($codes[$code])) echo "$file redifines #$code: {$codes[$code]}\n";
|
//if (isset($codes[$code])) echo "$file redifines #$code: {$codes[$code]}\n";
|
||||||
|
|
||||||
$src = $matches[2][$key];
|
$src = $matches[2][$key];
|
||||||
$src = preg_replace('/self::\$[a-z_>-]/i',"''",$src); // gives fatal error otherwise
|
$src = preg_replace('/self::\$[a-z_>-]+/i',"''",$src); // gives fatal error otherwise
|
||||||
@eval($src='$codes['.$code.'] = '.$src.';');
|
@eval($src='$codes['.$code.'] = '.$src.';');
|
||||||
//echo "- codes[$code] => '{$codes[$code]}'\n";
|
//echo "- codes[$code] => '{$codes[$code]}'\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user