diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index b35d7d74a2..e90b88a146 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -4272,16 +4272,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/'; + } } } }