mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Update ui_get_full_url meta with def. target/pandora_console as public_url
This commit is contained in:
parent
5cfad4587d
commit
cca5c7fcf3
@ -3799,6 +3799,9 @@ function ui_get_full_url($url='', $no_proxy=false, $add_name_php_file=false, $me
|
|||||||
if (ui_forced_public_url()) {
|
if (ui_forced_public_url()) {
|
||||||
$proxy = true;
|
$proxy = true;
|
||||||
$fullurl = $config['public_url'];
|
$fullurl = $config['public_url'];
|
||||||
|
if ($url == 'index.php' && is_metaconsole()) {
|
||||||
|
$fullurl .= ENTERPRISE_DIR.'/meta/index.php';
|
||||||
|
}
|
||||||
} else if (!empty($config['public_url'])
|
} else if (!empty($config['public_url'])
|
||||||
&& (!empty($_SERVER['HTTP_X_FORWARDED_HOST']))
|
&& (!empty($_SERVER['HTTP_X_FORWARDED_HOST']))
|
||||||
) {
|
) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user