diff options
author | foobar <sniper@php.net> | 2005-03-18 22:09:31 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-03-18 22:09:31 +0000 |
commit | bbe98a88f34b24685a5d563354f7b90a4e73c1d1 (patch) | |
tree | 536465595ea8cdf263d04ad0b49ea033d98df1f3 /run-tests.php | |
parent | 1524d4890fc57acf9cdc43c9db986b990fa2a623 (diff) | |
download | php-git-bbe98a88f34b24685a5d563354f7b90a4e73c1d1.tar.gz |
revert
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/run-tests.php b/run-tests.php index 7c1a9a6718..80b72712c0 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); |