diff --git a/emhttp/plugins/dynamix/SMBExtras.page b/emhttp/plugins/dynamix/SMBExtras.page index 2676f890d..ffeeaefc9 100644 --- a/emhttp/plugins/dynamix/SMBExtras.page +++ b/emhttp/plugins/dynamix/SMBExtras.page @@ -33,7 +33,7 @@ $(function(){ _(Samba extra configuration)_: -: +:   : *_(Array must be **Stopped** to change)_* 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 "