From e134826088cc02cb09f53541dc2f7f661f47a947 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 6 May 2014 09:23:12 +0000 Subject: [PATCH] "setup/setup-cli.php --exit-codes" was not reporting 11: Your Database is not working! --- setup/setup-cli.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/setup-cli.php b/setup/setup-cli.php index 6467324026..6d3be8b5ac 100755 --- a/setup/setup-cli.php +++ b/setup/setup-cli.php @@ -578,7 +578,7 @@ function list_exit_codes() //if (isset($codes[$code])) echo "$file redifines #$code: {$codes[$code]}\n"; $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.';'); //echo "- codes[$code] => '{$codes[$code]}'\n"; }