From: Martin Jansen Date: Sat, 28 Jun 2003 18:15:35 +0000 (+0000) Subject: * MFH: Silence warning X-Git-Tag: php-4.3.3RC2~226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7e577e05d90bf334a909b85f1ab1b397fd28f62;p=php * MFH: Silence warning --- 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)) {