From 357474a8270efd3db058af7c48c4e332f9f81eb0 Mon Sep 17 00:00:00 2001 From: bergware Date: Sun, 12 Apr 2020 06:17:50 +0200 Subject: [PATCH] Multi cache pool support --- plugins/dynamix/include/Browse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/include/Browse.php b/plugins/dynamix/include/Browse.php index 351cbefab..0dba59f4b 100644 --- a/plugins/dynamix/include/Browse.php +++ b/plugins/dynamix/include/Browse.php @@ -60,7 +60,7 @@ if ($user) { $stat = popen("shopt -s dotglob; stat -L -c'%F|%n|%s|%Y' $all",'r'); while (($row = fgets($stat))!==false) { $row .= $user ? "|{$set[++$i]}" : "|$fix"; - if (substr($row,0,9)=='directory') $dirs[] = $row; else $files[] = $row; + if (substr($row,0,3)=='dir') $dirs[] = $row; else $files[] = $row; } pclose($stat);