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:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user