From 65995e294185a8a67129e06699e0bf40652a54fb Mon Sep 17 00:00:00 2001 From: bergware Date: Fri, 11 Apr 2025 17:58:00 +0200 Subject: [PATCH 1/2] File manager: add UD shares to top level user shares --- emhttp/plugins/dynamix/include/FileTree.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/emhttp/plugins/dynamix/include/FileTree.php b/emhttp/plugins/dynamix/include/FileTree.php index e9f174362..377b6657f 100644 --- a/emhttp/plugins/dynamix/include/FileTree.php +++ b/emhttp/plugins/dynamix/include/FileTree.php @@ -45,14 +45,15 @@ $docroot = '/usr/local/emhttp'; require_once "$docroot/webGui/include/Secure.php"; $rootdir = path(realpath($_POST['dir'])); +$topdir = '/mnt/'; +$userdir = '/mnt/user/'; $filters = (array)$_POST['filter']; $match = $_POST['match']; $checkbox = $_POST['multiSelect'] == 'true' ? "" : ""; /* Excluded folders to not show in the dropdown in the '/mnt/' directory only. */ $excludedFolders = ['RecycleBin', 'addons', 'rootshare']; - -$udShares = ['addons','disks','remotes']; +$udShares = ['disks','remotes']; echo "