mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
modules/README triggers pointless warning
This commit is contained in:
parent
8b20d883c4
commit
4237e3e53e
@ -149,12 +149,12 @@ class Manager
|
||||
$this->enabledDirs = array();
|
||||
while (false !== ($file = readdir($fh))) {
|
||||
|
||||
if ($file[0] === '.') {
|
||||
if ($file[0] === '.' || $file === 'README') {
|
||||
continue;
|
||||
}
|
||||
|
||||
$link = $this->enableDir . '/' . $file;
|
||||
if (!is_link($link)) {
|
||||
if (! is_link($link)) {
|
||||
Logger::warn(
|
||||
'Found invalid module in enabledModule directory "%s": "%s" is not a symlink',
|
||||
$this->enableDir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user