Merge branch 'ent-7549-error-de-carga-link-publico-consolas-visuales' into 'develop'

Common requirements using base url

See merge request artica/pandorafms!4137
This commit is contained in:
Daniel Rodriguez 2021-05-18 14:33:07 +00:00
commit 2f6a7143f3
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@
require_once '../../include/config.php';
$legacy = (bool) get_parameter('legacy', $config['legacy_vc']);
if (is_metaconsole() === true) {
$config['requirements_use_base_url'] = true;
}
if ($legacy === false) {
include_once $config['homedir'].'/operation/visual_console/public_view.php';
} else {