aboutsummaryrefslogtreecommitdiff
path: root/app/fn/fn.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/fn/fn.php')
-rw-r--r--app/fn/fn.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/fn/fn.php b/app/fn/fn.php
index af02202..583227a 100644
--- a/app/fn/fn.php
+++ b/app/fn/fn.php
@@ -214,8 +214,8 @@ function array_diff_assoc_recursive($array1, $array2) {
*/
function treecount(array $dir, string $dirname, int $deepness, string $path, string $currentdir, Medialist $mediaopt)
{
- if ($path === $currentdir) {
- $folder = '├─📂<strong>' . $dirname . '<strong>';
+ if ($path . '/' === $currentdir) {
+ $folder = '├─📂<span id="currentdir">' . $dirname . '<span>';
} else {
$folder = '├─📁' . $dirname;
}