From: Greg Beaver Date: Mon, 1 Dec 2003 04:04:07 +0000 (+0000) Subject: potential major booboo in unit test, probably won't affect this one X-Git-Tag: php-5.0.0b3RC1~458 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd4baaf654653311ebea4750f6fd2834f212ede3;p=php potential major booboo in unit test, probably won't affect this one --- diff --git a/pear/tests/pear_common_downloadHttp.phpt b/pear/tests/pear_common_downloadHttp.phpt index 39712221d9..b11d904191 100644 --- a/pear/tests/pear_common_downloadHttp.phpt +++ b/pear/tests/pear_common_downloadHttp.phpt @@ -93,7 +93,7 @@ function cleanall($dir) if ($ent == '.' || $ent == '..') { continue; } - if (is_dir($ent)) { + if (is_dir($dir . DIRECTORY_SEPARATOR . $ent)) { cleanall($dir . DIRECTORY_SEPARATOR . $ent); } else { unlink($dir . DIRECTORY_SEPARATOR . $ent);