X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=admin.php;h=c2beb5939a5942e448246816ed9b640d288c27aa;hp=20476586610b4be6447f9dad38ae7960f5292dcb;hb=66b26d6e73dfd9e80d17d6227b50950ba0f82909;hpb=701f5ac005404813e0e546102b5821f2ba2af522 diff --git a/admin.php b/admin.php index 2047658661..c2beb5939a 100644 --- a/admin.php +++ b/admin.php @@ -32,20 +32,21 @@ ************************************************************************/ // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) ) -require_once("inc/libs/security_functions.php"); +require("inc/libs/security_functions.php"); // Init "action" and "what" -global $what, $action; -$GLOBALS['what'] = ""; $GLOBALS['action'] = ""; +$GLOBALS['what'] = ""; +$GLOBALS['action'] = ""; // Set module -$GLOBALS['module'] = "admin"; $CSS = -1; +$GLOBALS['module'] = "admin"; +$GLOBALS['output_mode'] = -1; // Load the required file(s) require("inc/config.php"); // Is the script installed? -if (isBooleanConstantAndTrue('mxchange_installed')) { +if (isInstalled()) { // Simply redirect... :-) LOAD_URL("modules.php?module=admin"); } else {