fix bug in functions_filemanager

Former-commit-id: 93507790a70eb673a5660357acfcdf9c68279047
This commit is contained in:
alejandro-campos 2019-03-06 17:07:37 +01:00
parent 88f1f16a5a
commit d760c7d701
1 changed files with 2 additions and 2 deletions

View File

@ -121,9 +121,9 @@ if (!function_exists('mime_content_type')) {
global $config;
if (isset($config['homedir_filemanager'])) {
$homedir_filemanager = io_safe_output($config['homedir_filemanager']);
$homedir_filemanager = trim(io_safe_output($config['homedir_filemanager']));
} else {
$homedir_filemanager = $config['homedir'];
$homedir_filemanager = trim($config['homedir']);
}
$sec2 = get_parameter('sec2');