]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/login.php
More queries and language constants rewritten
[mailer.git] / inc / modules / login.php
index 89756f98c89ab4307e26d4422b63fea22aa067f0..229c0747c6a46c2fcbb86f9fab4884853dd59875 100644 (file)
@@ -78,10 +78,10 @@ if ((getConfig('member_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
 OUTPUT_HTML("   </td>
   <td valign=\"top\" align=\"center\" rowspan=\"3\" class=\"member_content\">");
 
-$INC_ACTION = sprintf("%sinc/modules/member/action-%s.php", PATH, $act);
-if ((FILE_READABLE($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']))) {
+$INC_ACTION = sprintf("inc/modules/member/action-%s.php", $act);
+if ((FILE_READABLE($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", $GLOBALS['action'], $GLOBALS['what']))) {
        // Requested module is available so we load it
-       include ($INC_ACTION);
+       LOAD_INC($INC_ACTION);
 } else {
        // Invalid module specified or not found...
        LOAD_URL("modules.php?module=login");