From 4be427bad9d753b207f7e56e75c3a97ade139a2c Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Fri, 23 Sep 2016 11:57:07 +0200 Subject: [PATCH] can't use mobile version when you install metaconsole version, add redirect. Ticket: #4067 --- pandora_console/mobile/index.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandora_console/mobile/index.php b/pandora_console/mobile/index.php index d457d600a8..70c4e12a54 100644 --- a/pandora_console/mobile/index.php +++ b/pandora_console/mobile/index.php @@ -67,6 +67,12 @@ if (!empty ($config["https"]) && empty ($_SERVER['HTTPS'])) { $system = System::getInstance(); +//~ In this moment doesn't work the version mobile when have metaconsole version. +//~ In the future versions of pandora maybe is added a mobile version of PandoraFMS Metaconsole version. +if ($system->getConfig('metaconsole')) + header ("Location: " . $system->getConfig('homeurl') . "enterprise/meta"); + + require_once($system->getConfig('homedir').'/include/constants.php'); $user = User::getInstance();