summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-03-18 22:09:31 (GMT)
committerfoobar <sniper@php.net>2005-03-18 22:09:31 (GMT)
commitbbe98a88f34b24685a5d563354f7b90a4e73c1d1 (patch)
tree536465595ea8cdf263d04ad0b49ea033d98df1f3 /run-tests.php
parent1524d4890fc57acf9cdc43c9db986b990fa2a623 (diff)
downloadphp-bbe98a88f34b24685a5d563354f7b90a4e73c1d1.tar.gz
revert
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php15
1 files changed, 3 insertions, 12 deletions
diff --git a/run-tests.php b/run-tests.php
index 7c1a9a6..80b7271 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -163,6 +163,7 @@ More .INIs : " . (function_exists(\'php_ini_scanned_files\') ? str_replace("\n"
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 @@ $ini_overwrites = array(
'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);