]> git.mxchange.org Git - mailer.git/blobdiff - admin.php
Variable DEPTH must be deleted before ADD_POINTS_REFSYSTEM() is being called :(
[mailer.git] / admin.php
index 8c26089496863c3d1897a65becdc5eec7a6d1068..5c6f49d107b058e58c25e1eae78fcbffb31d2797 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -45,7 +45,7 @@ $GLOBALS['module'] = "admin"; $CSS = -1;
 require ("inc/config.php");
 
 // Is the script installed?
-if (defined('mxchange_installed') && (mxchange_installed))
+if (isBooleanConstantAndTrue('mxchange_installed'))
 {
        // Simply redirect... :-)
        LOAD_URL("modules.php?module=admin&action=login");