We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a397508 commit 636f552Copy full SHA for 636f552
pear/PEAR/Registry.php
@@ -101,7 +101,7 @@ function PEAR_Registry($pear_install_dir = PEAR_INSTALL_DIR)
101
102
// XXX Compatibility code should be removed in the future
103
// rename all registry files if any to lowercase
104
- if (!OS_WINDOWS && $handle = opendir($this->statedir)) {
+ if (!OS_WINDOWS && $handle = @opendir($this->statedir)) {
105
$dest = $this->statedir . DIRECTORY_SEPARATOR;
106
while (false !== ($file = readdir($handle))) {
107
if (preg_match('/^.*[A-Z].*\.reg$/', $file)) {
0 commit comments