From 14e7d4b448580c860986163f10e70c6b76275673 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Thu, 27 Apr 2017 10:49:54 +0200 Subject: [PATCH] Fixed license failure --- pandora_console/index.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pandora_console/index.php b/pandora_console/index.php index 78997fbe56..05ac148870 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -101,11 +101,6 @@ if ($config['metaconsole'] == 1 && $config['enterprise_installed'] == 1) { header ("Location: " . $config['homeurl'] . "enterprise/meta"); } -/* Enterprise support */ -if (file_exists (ENTERPRISE_DIR . "/load_enterprise.php")) { - include_once (ENTERPRISE_DIR . "/load_enterprise.php"); -} - if (file_exists (ENTERPRISE_DIR . "/include/functions_login.php")) { include_once (ENTERPRISE_DIR . "/include/functions_login.php"); } @@ -587,6 +582,12 @@ else { } } } + +/* Enterprise support */ +if (file_exists (ENTERPRISE_DIR . "/load_enterprise.php")) { + include_once (ENTERPRISE_DIR . "/load_enterprise.php"); +} + // Log off if (isset ($_GET["bye"])) { include ("general/logoff.php");