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

Fixed issue with URLs

Closes pandora_enterprise#7040

See merge request artica/pandorafms!3860
This commit is contained in:
Daniel Rodriguez 2021-04-06 17:05:17 +00:00
commit 29bf07d96c
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/';
}
}
}
}