From d8bd05c908a268e75406e952b75ceea513850c8e Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 15 Feb 2024 03:08:33 +0200 Subject: [PATCH] add symlinks filter --- src/Dokuwiki/Filesystem.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Dokuwiki/Filesystem.php b/src/Dokuwiki/Filesystem.php index 1455f02..33b79c2 100644 --- a/src/Dokuwiki/Filesystem.php +++ b/src/Dokuwiki/Filesystem.php @@ -235,6 +235,11 @@ class Filesystem continue; } + if (is_link($file)) + { + continue; + } + if (in_array($file, $blacklist)) { continue;