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:
commit
29bf07d96c
|
@ -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/';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue