]> granicus.if.org Git - php/commitdiff
older versions do not have this functions
authorMarcus Boerger <helly@php.net>
Sat, 2 Nov 2002 12:55:06 +0000 (12:55 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 2 Nov 2002 12:55:06 +0000 (12:55 +0000)
run-tests.php

index 1f31e757883d4dbebf95bbbd0fcaff45dcb4339c..464c76946b488c59ce6433531f6eac398cf6b1c7 100755 (executable)
@@ -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=',