summaryrefslogtreecommitdiff
path: root/pear/PEAR/Registry.php
diff options
context:
space:
mode:
authorMartin Jansen <mj@php.net>2003-06-28 18:14:24 +0000
committerMartin Jansen <mj@php.net>2003-06-28 18:14:24 +0000
commite95ee2b3130742220ab663b6eac7c37e5d01ed70 (patch)
treedabbd834c50aa4ac994792d6be37ca1d959aa81e /pear/PEAR/Registry.php
parent9e53c34ad39575653a8a6033d2b501f2c7c5ae4b (diff)
downloadphp-git-e95ee2b3130742220ab663b6eac7c37e5d01ed70.tar.gz
* Silence warning
Diffstat (limited to 'pear/PEAR/Registry.php')
-rw-r--r--pear/PEAR/Registry.php2
1 files changed, 1 insertions, 1 deletions
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)) {