Revert "Merge branch 'ent-7040-forzar-URL-publica-meta' into 'develop'"

This reverts merge request !3860
This commit is contained in:
fbsanchez 2021-04-07 10:17:32 +02:00
parent decea8ab95
commit 4920dc9621
1 changed files with 4 additions and 4 deletions

View File

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