Update ui_get_full_url meta with def. target/pandora_console as public_url

This commit is contained in:
fbsanchez 2019-07-12 12:27:58 +02:00
parent 5cfad4587d
commit cca5c7fcf3
1 changed files with 3 additions and 0 deletions

View File

@ -3799,6 +3799,9 @@ function ui_get_full_url($url='', $no_proxy=false, $add_name_php_file=false, $me
if (ui_forced_public_url()) {
$proxy = true;
$fullurl = $config['public_url'];
if ($url == 'index.php' && is_metaconsole()) {
$fullurl .= ENTERPRISE_DIR.'/meta/index.php';
}
} else if (!empty($config['public_url'])
&& (!empty($_SERVER['HTTP_X_FORWARDED_HOST']))
) {