]> git.mxchange.org Git - mailer.git/blobdiff - admin.php
prefix now safely replaced
[mailer.git] / admin.php
index c60d0823e7c7211ab20be3055895559962196b16..c2beb5939a5942e448246816ed9b640d288c27aa 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -35,7 +35,6 @@
 require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
-global $what, $action;
 $GLOBALS['what'] = "";
 $GLOBALS['action'] = "";
 
@@ -47,7 +46,7 @@ $GLOBALS['output_mode'] = -1;
 require("inc/config.php");
 
 // Is the script installed?
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Simply redirect... :-)
        LOAD_URL("modules.php?module=admin");
 } else {