diff --git a/system/src/Grav/Common/Config.php b/system/src/Grav/Common/Config.php index df25af870..876b13f40 100644 --- a/system/src/Grav/Common/Config.php +++ b/system/src/Grav/Common/Config.php @@ -234,7 +234,7 @@ class Config extends Data $name = $plugin->getBasename(); $file = $plugin->getPathname() . DS . $name . YAML_EXT; - if (!is_file($file)) { + if (!file_exists($file)) { continue; }