From: Marcus Boerger Date: Sat, 2 Nov 2002 12:55:06 +0000 (+0000) Subject: older versions do not have this functions X-Git-Tag: php-4.3.0RC1~341 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b805156590f8b221bb83e1f406d9701fc8ff8f1;p=php older versions do not have this functions --- diff --git a/run-tests.php b/run-tests.php index 1f31e75788..464c76946b 100755 --- a/run-tests.php +++ b/run-tests.php @@ -105,7 +105,7 @@ PHP_SAPI : " . PHP_SAPI . " PHP_VERSION : " . phpversion() . " PHP_OS : " . PHP_OS . " INI actual : " . realpath(get_cfg_var("cfg_file_path")) . " -More .INIs : " . str_replace("\n","", php_ini_scanned_files()); ?>'; +More .INIs : " . (function_exists(\'php_ini_scanned_files\') ? str_replace("\n","", php_ini_scanned_files()) : "** not determined **"); ?>'; save_text($info_file, $php_info); $settings = array( 'open_basedir=',