X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fhelper%2Fserver.inc;h=f203ed6c50f1696253e1a06d6e3439e0db95cc7c;hp=ea83f70679b073f1dc75dbbf30261c14f6567ef7;hb=018096825617afa428c9c17f83b1ad3f3f3f96e5;hpb=2ac8caf0e31b5dfd386c0a0b811cd918620c0a17 diff --git a/tests/helper/server.inc b/tests/helper/server.inc index ea83f70..f203ed6 100644 --- a/tests/helper/server.inc +++ b/tests/helper/server.inc @@ -24,7 +24,7 @@ if ($php) { define("PHP_BIN", PHP_BINDIR.DIRECTORY_SEPARATOR."php"); } -foreach (array("raphf", "propro", "http") as $ext) { +foreach (array("raphf", "http") as $ext) { if (!extension_loaded($ext)) { dl(ext_lib_name($ext)); } @@ -124,14 +124,14 @@ function server($handler, $cb) { continue; } if ($argList[$i] === '-d') { - $args[] = '-d' . $args[++$i]; + $args[] = '-d' . $argList[++$i]; continue; } if (substr($argList[$i], 0, 2) === '-d') { $args[] = $argList[$i]; } } - foreach (['raphf', 'propro', 'http'] as $ext) { + foreach (['raphf', 'http'] as $ext) { if (null !== $arg = get_extension_load_arg(PHP_BIN, $args, $ext)) { $args[] = $arg; }