]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/login.php
Mahor rewrite:
[mailer.git] / inc / modules / login.php
index cdf0e72676539a3cdb7ef6e8299c01367b6a916b..b308473f7579acab6ae4ff056e11c125a5d282e3 100644 (file)
@@ -84,7 +84,7 @@ if (empty($GLOBALS['action'])) {
 }
 
 // Add the member's menu here...
-if (($_CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) {
+if ((getConfig('member_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) {
        ADD_MENU("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']);
 } // END - if
 
@@ -101,7 +101,7 @@ if ((FILE_READABLE($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", GET_ACTION("
        LOAD_URL("modules.php?module=login");
 }
 
-if (($_CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) {
+if ((getConfig('member_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) {
        // Right side of content (hint: a good place for 120x600 skyscraper banner!)
        LOAD_TEMPLATE("member_content_right");