mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
can't use mobile version when you install metaconsole version, add redirect. Ticket: #4067
This commit is contained in:
parent
c916d49bdf
commit
4be427bad9
@ -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