Reverted failed change

This commit is contained in:
Jose Gonzalez 2021-04-07 13:03:18 +02:00
parent e68d2bfe5c
commit d4d3350c8c
1 changed files with 4 additions and 4 deletions

View File

@ -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/';
}
}
}
}