1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00

fix problem in current HEAD

# strange why on earth does $GLOBALS['cwd'] produce a warning here?
# however we already have a global declarations so we use it for cwd, too.
This commit is contained in:
Marcus Boerger
2003-03-02 15:12:12 +00:00
parent 71b1c7bdb0
commit cbb3e6fd2f
+2 -2
View File
@@ -575,7 +575,7 @@ function system_with_timeout($commandline)
function run_test($php,$file)
{
global $log_format, $info_params, $ini_overwrites;
global $log_format, $info_params, $ini_overwrites, $cwd;
if (DETAILED) echo "
=================
@@ -608,7 +608,7 @@ TEST $file
}
fclose($fp);
$shortname = str_replace($GLOBALS['cwd'].'/', '', $file);
$shortname = str_replace($cwd.'/', '', $file);
$tested = trim($section_text['TEST'])." [$shortname]";
$tmp = realpath(dirname($file));