mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 04:55:37 +02:00
Fixed up the languages
This commit is contained in:
@@ -796,7 +796,7 @@ class Admin
|
||||
|
||||
/** @var \DirectoryIterator $directory */
|
||||
foreach (new \DirectoryIterator($path) as $file) {
|
||||
if ($file->isDir() || $file->isDot()) {
|
||||
if ($file->isDir() || $file->isDot() || Utils::startsWith($file->getBasename(), '.')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user