From 9d071982f5ed85c4237676c38b1ccf9fe79a18f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Gonz=C3=A1lez?= Date: Tue, 7 Jun 2022 13:39:58 +0200 Subject: [PATCH] Improve code --- .../include/functions_filemanager.php | 23 ++++--------------- pandora_console/include/get_file.php | 12 +++++++--- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/pandora_console/include/functions_filemanager.php b/pandora_console/include/functions_filemanager.php index 6e0289d896..94e16e822b 100644 --- a/pandora_console/include/functions_filemanager.php +++ b/pandora_console/include/functions_filemanager.php @@ -476,12 +476,6 @@ function filemanager_file_explorer( $options=[] ) { global $config; - // Requirements for message dialog. - ui_require_css_file('dialog'); - ui_require_jquery_file('jquery-ui.min'); - ui_require_jquery_file('jquery-ui_custom'); - // Check for errors. - $errorOutput = (string) get_parameter('errorOutput'); // Windows compatibility. $real_directory = str_replace('\\', '/', $real_directory); @@ -498,17 +492,7 @@ function filemanager_file_explorer( $hack_metaconsole = (is_metaconsole() === true) ? '../../' : ''; ?> -