From d4d3350c8ce746b43d335f3dee05291926e99cdd Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Wed, 7 Apr 2021 13:03:18 +0200 Subject: [PATCH] Reverted failed change --- pandora_console/include/functions_ui.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 9511d967e6..a3fe8ff6cf 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -4235,16 +4235,16 @@ function ui_get_full_url($url='', $no_proxy=false, $add_name_php_file=false, $me } } else { if ($proxy) { - if (is_metaconsole() && $metaconsole_root) { - $fullurl .= ENTERPRISE_DIR.'/meta'; - } - $fullurl .= '/'; } else { if ($add_name_php_file) { $fullurl .= $_SERVER['SCRIPT_NAME']; } else { $fullurl .= $config['homeurl_static'].'/'; + + if (is_metaconsole() && $metaconsole_root) { + $fullurl .= ENTERPRISE_DIR.'/meta/'; + } } } }