From cd4baaf654653311ebea4750f6fd2834f212ede3 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Mon, 1 Dec 2003 04:04:07 +0000 Subject: [PATCH] potential major booboo in unit test, probably won't affect this one --- pear/tests/pear_common_downloadHttp.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1