cvs: php4 / run-tests.php
| From: | Stig Bakken | Date: | Mon, 27 Aug 2001 20:29:37 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7102@lists.php.net to get a copy of this message | ||
ssb Mon Aug 27 16:29:37 2001 EDT
Modified files:
/php4 run-tests.php
Log:
* add the directory where php.exe was found to PATH to help Windows
find its DLLs
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.28 php4/run-tests.php:1.29
--- php4/run-tests.php:1.28 Mon Aug 27 16:17:36 2001
+++ php4/run-tests.php Mon Aug 27 16:29:33 2001
@@ -168,6 +168,11 @@
dowriteln("available in the PATH environment variable.");
exit;
}
+ if ($windows_p) {
+ // modify path to help Windows find DLL files
+ $path = dirname($php) . ";" . getenv("PATH");
+ setenv("PATH={$path}");
+ }
create_compiled_in_modules_list();