From e68d2bfe5cd1758d98c1c43daec1282f3d79e8e9 Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Tue, 23 Feb 2021 14:32:51 +0100 Subject: [PATCH] Fixed issue with URLs --- 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 b9d75f69c6..9511d967e6 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/meta/'; - } } } }