summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-04-19 18:10:54 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-04-19 18:10:54 +0000
commit6bc4ce43d0fe4878fd38a661100fac81178dc476 (patch)
tree8bff19faaf2c7b0141e05548d60b372ddd9b4f6b
parente4c38aec5a1393d175ccb048deff90285ff81ed8 (diff)
downloadphp-git-6bc4ce43d0fe4878fd38a661100fac81178dc476.tar.gz
Do not hardcode php path.
-rw-r--r--ext/standard/tests/file/bug22414.phpt2
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);