From a4848dcb7ee6bff2a9ccc4b2b2634f893e8bcd7b Mon Sep 17 00:00:00 2001 From: SeriousBuggie <70026933+SeriousBuggie@users.noreply.github.com> Date: Sat, 22 Aug 2020 07:35:07 +0300 Subject: [PATCH] Use speed cache --- classes/DirectoryListDetailed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/DirectoryListDetailed.php b/classes/DirectoryListDetailed.php index d74f379..f38ceeb 100755 --- a/classes/DirectoryListDetailed.php +++ b/classes/DirectoryListDetailed.php @@ -165,7 +165,7 @@ class DirectoryListDetailed extends DirectoryList $dirs = $files = array(); foreach ($this as $t) { - if ($this->is_dir($path . $t)) + if ($this->is_dir($t)) { $temp = new DirItem($path, $t); if ($temp -> __get('is_parent_dir'))