# 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.
function run_test($php,$file)
{
- global $log_format, $info_params, $ini_overwrites;
+ global $log_format, $info_params, $ini_overwrites, $cwd;
if (DETAILED) echo "
=================
}
fclose($fp);
- $shortname = str_replace($GLOBALS['cwd'].'/', '', $file);
+ $shortname = str_replace($cwd.'/', '', $file);
$tested = trim($section_text['TEST'])." [$shortname]";
$tmp = realpath(dirname($file));