1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-29 10:20:13 +02:00

Merge pull request #289 from azettl/master

Hide hidden folders like ".git" in the navigation
This commit is contained in:
trendschau
2021-11-01 21:03:33 +01:00
committed by GitHub

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))
{