From a078f6ecc62f92a202b89afd24262593e4ae73a6 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 3 Nov 2002 15:42:59 +0000 Subject: [PATCH] Fixed ini argument parsing. We now support ini options with = in the argument, such as the one being used in session test #21, which is once again working properly. --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index 4c15938788..24d6bf3b5b 100755 --- a/run-tests.php +++ b/run-tests.php @@ -706,7 +706,7 @@ function settings2array($settings, &$ini_settings) { foreach($settings as $setting) { if (strpos($setting, '=')!==false) { - $setting = explode("=", $setting); + $setting = explode("=", $setting, 2); $name = trim(strtolower($setting[0])); $value = trim($setting[1]); $ini_settings[$name] = $value; -- 2.50.1