1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-17 12:31:13 +02:00

Hide hidden folders like ".git" in the navigation

This commit is contained in:
Andreas
2021-10-30 01:11:59 +02:00
parent ee51d25cc7
commit 61568b4595

View File

@@ -48,7 +48,7 @@ class Folder
foreach ($folderItems as $key => $item)
{
if (!in_array($item, array(".","..")))
if (!in_array($item, array(".","..")) && substr($item, 0, 1) != '.')
{
if (is_dir($folderPath . DIRECTORY_SEPARATOR . $item))
{