modules/README triggers pointless warning

This commit is contained in:
Thomas Gelf 2013-08-20 21:04:11 +02:00 committed by Eric Lippmann
parent 8b20d883c4
commit 4237e3e53e

View File

@ -149,7 +149,7 @@ class Manager
$this->enabledDirs = array(); $this->enabledDirs = array();
while (false !== ($file = readdir($fh))) { while (false !== ($file = readdir($fh))) {
if ($file[0] === '.') { if ($file[0] === '.' || $file === 'README') {
continue; continue;
} }