cvs: php-src / run-tests.php
| From: | Jani Taskinen | Date: | Fri, 18 Mar 2005 22:09:31 +0000 |
| Subject: | cvs: php-src / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30999@lists.php.net to get a copy of this message | ||
sniper Fri Mar 18 17:09:31 2005 EDT
Modified files:
/php-src run-tests.php
Log:
revert
http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.206&r2=1.207&ty=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.206 php-src/run-tests.php:1.207
--- php-src/run-tests.php:1.206 Fri Mar 18 16:59:59 2005
+++ php-src/run-tests.php Fri Mar 18 17:09:31 2005
@@ -163,6 +163,7 @@
save_text($info_file, $php_info);
$ini_overwrites = array(
'output_handler=',
+ 'zlib.output_compression=Off',
'open_basedir=',
'safe_mode=0',
'disable_functions=',
@@ -181,19 +182,9 @@
'auto_prepend_file=',
'auto_append_file=',
'magic_quotes_runtime=0',
+ 'xdebug.default_enable=0',
+ 'session.auto_start=0'
);
-
-/* Only add overwrites if the extension is loaded */
-if (extension_loaded('xdebug')) {
- $ini_overwrites[] = 'xdebug.default_enable=0';
-}
-if (extension_loaded('zlib')) {
- $ini_overwrites[] = 'zlib.output_compression=Off';
-}
-if (extension_loaded('session')) {
- $ini_overwrites[] = 'session.auto_start=0';
-}
-
$info_params = array();
settings2array($ini_overwrites,$info_params);
settings2params($info_params);