]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/login.php
Password reset for admin login added (still buggy if cache is installed and sql_patch...
[mailer.git] / inc / modules / login.php
index b692e3e2cfa1f8252e4d81c7806c1cb89d0e21fd..f220ec106d080b4bc69fc1b5ba601805e250035c 100644 (file)
@@ -92,7 +92,7 @@ if (empty($GLOBALS['action']))
 }
 
 // Add the member's menu here...
-if (($_CONFIG['member_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true)))
+if (($_CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
 {
        ADD_MENU("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']);
 }
@@ -100,7 +100,7 @@ if (($_CONFIG['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(PATH."inc/modules/member/action-%s.php", $act);
+$INC_ACTION = sprintf(."%sinc/modules/member/action-%s.php", PATH, $act);
 if ((file_exists($INC_ACTION)) && (is_readable($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what'])))
 {
        // Requested module is available so we load it
@@ -112,7 +112,7 @@ if ((file_exists($INC_ACTION)) && (is_readable($INC_ACTION)) && (VALIDATE_MENU_A
        LOAD_URL("modules.php?module=login");
 }
 
-if (($_CONFIG['member_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true)))
+if (($_CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
 {
        OUTPUT_HTML("  <br /></TD>
 </TR>