errata fix

This commit is contained in:
fbsanchez 2021-10-07 12:25:41 +02:00
parent 35eb1d0790
commit 2050c137ec
1 changed files with 3 additions and 1 deletions

View File

@ -4328,7 +4328,9 @@ function ui_get_full_url($url='', $no_proxy=false, $add_name_php_file=false, $me
} else if (empty($url) === true) {
if ($proxy === false) {
$url = $config['homeurl_static'].'/';
if ($metaconsole_root === true) {
if ($metaconsole_root === true
&& is_metaconsole()
) {
$url = $config['homeurl_static'].'/'.ENTERPRISE_DIR.'/meta/';
}