diff --git a/pandora_console/include/functions_filemanager.php b/pandora_console/include/functions_filemanager.php index a68c06c702..7d9db9299a 100644 --- a/pandora_console/include/functions_filemanager.php +++ b/pandora_console/include/functions_filemanager.php @@ -805,7 +805,7 @@ function filemanager_file_explorer( // Actions buttons // Delete button. - $data[4] = '
'; + $data[4] = '
'; $typefile = array_pop(explode('.', $fileinfo['name'])); if (is_writable($fileinfo['realpath']) === true && (is_dir($fileinfo['realpath']) === false || count(scandir($fileinfo['realpath'])) < 3) @@ -858,13 +858,6 @@ function filemanager_file_explorer( $data[4] .= ''; } - if (is_writable($fileinfo['realpath']) === true - && (is_dir($fileinfo['realpath']) === false || count(scandir($fileinfo['realpath'])) < 3) - && ($readOnly === false) - ) { - $data[4] .= ''.html_print_image('images/enable.svg', true, ['style' => 'margin-top: 2px;', 'title' => __('Real path'), 'class' => 'invert_filter main_menu_icon']).''; - } - $data[4] .= '
'; array_push($table->data, $data);