diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-04-19 18:10:54 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-04-19 18:10:54 +0000 |
commit | 6bc4ce43d0fe4878fd38a661100fac81178dc476 (patch) | |
tree | 8bff19faaf2c7b0141e05548d60b372ddd9b4f6b | |
parent | e4c38aec5a1393d175ccb048deff90285ff81ed8 (diff) | |
download | php-git-6bc4ce43d0fe4878fd38a661100fac81178dc476.tar.gz |
Do not hardcode php path.
-rw-r--r-- | ext/standard/tests/file/bug22414.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/bug22414.phpt b/ext/standard/tests/file/bug22414.phpt index 6902b643b1..a1462958d6 100644 --- a/ext/standard/tests/file/bug22414.phpt +++ b/ext/standard/tests/file/bug22414.phpt @@ -21,7 +21,7 @@ Bug #22414: passthru() does not read data correctly /* Binary Data Test */ @unlink($pwd . '/passthru_test'); - $cmd = "sapi/cli/php -r \\\" readfile(@getenv(TEST_PHP_EXECUTABLE)); \\\""; + $cmd = $php . " -r \\\" readfile(@getenv(TEST_PHP_EXECUTABLE)); \\\""; $cmd = $php . ' -r \' passthru("'.$cmd.'"); \' > ' . $pwd . '/passthru_test'; exec($cmd); |