diff --git a/pandora_console/include/functions_filemanager.php b/pandora_console/include/functions_filemanager.php index ae37b87f22..9afa774223 100644 --- a/pandora_console/include/functions_filemanager.php +++ b/pandora_console/include/functions_filemanager.php @@ -485,6 +485,11 @@ function filemanager_file_explorer( // Options. $allowZipFiles = (isset($options['all']) === true) || ((isset($options['allowZipFiles']) === true) && ($options['allowZipFiles'] === true)); $allowCreateText = (isset($options['all']) === true) || ((isset($options['allowCreateText']) === true) && ($options['allowCreateText'] === true)); + $allowCreateFolder = (isset($options['allowCreateFolder'])) ? false : true; + + if ($options['denyCreateText'] === true) { + $allowCreateText = false; + } if ($homedir_filemanager === false) { $homedir_filemanager = $config['homedir']; @@ -494,11 +499,14 @@ function filemanager_file_explorer( ?>