mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
can't use mobile version when you install metaconsole version, add redirect. Ticket: #4067
(cherry picked from commit 4be427bad9d753b207f7e56e75c3a97ade139a2c)
This commit is contained in:
parent
fb56c16e19
commit
66957b5580
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user