mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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…
x
Reference in New Issue
Block a user