Revert "Fixed license failure"

This reverts commit 14e7d4b448580c860986163f10e70c6b76275673.
This commit is contained in:
Arturo Gonzalez 2017-05-05 12:21:58 +02:00
parent 830ad6fc90
commit 55196854b0

View File

@ -101,6 +101,11 @@ if ($config['metaconsole'] == 1 && $config['enterprise_installed'] == 1) {
header ("Location: " . $config['homeurl'] . "enterprise/meta"); 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")) { if (file_exists (ENTERPRISE_DIR . "/include/functions_login.php")) {
include_once (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 // Log off
if (isset ($_GET["bye"])) { if (isset ($_GET["bye"])) {
include ("general/logoff.php"); include ("general/logoff.php");