From e7e577e05d90bf334a909b85f1ab1b397fd28f62 Mon Sep 17 00:00:00 2001 From: Martin Jansen Date: Sat, 28 Jun 2003 18:15:35 +0000 Subject: [PATCH] * MFH: Silence warning --- pear/PEAR/Registry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pear/PEAR/Registry.php b/pear/PEAR/Registry.php index 16a9b497d4..27a5f9649c 100644 --- a/pear/PEAR/Registry.php +++ b/pear/PEAR/Registry.php @@ -101,7 +101,7 @@ class PEAR_Registry extends PEAR // XXX Compatibility code should be removed in the future // rename all registry files if any to lowercase - if (!OS_WINDOWS && $handle = opendir($this->statedir)) { + if (!OS_WINDOWS && $handle = @opendir($this->statedir)) { $dest = $this->statedir . DIRECTORY_SEPARATOR; while (false !== ($file = readdir($handle))) { if (preg_match('/^.*[A-Z].*\.reg$/', $file)) { -- 2.50.1