From 55196854b045e8b4f47a5ed45b27c5540981d81a Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Fri, 5 May 2017 12:21:58 +0200 Subject: [PATCH] Revert "Fixed license failure" This reverts commit 14e7d4b448580c860986163f10e70c6b76275673. --- pandora_console/index.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pandora_console/index.php b/pandora_console/index.php index 05ac148870..78997fbe56 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -101,6 +101,11 @@ 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"); } @@ -582,12 +587,6 @@ 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");