X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-;h=91e6a066ab0f6dd1d1575a48b05b25ea888a2a87;hb=c47144dd555bbab4acdf9085e4623900dedb0e7c;hp=fdb3590d3447f9fae5983e5cc858bab739fbbbf4;hpb=3daede4c904e23905c3e48dd6749019deca0a0e0;p=mailer.git diff --git a/inc/modules/member/action- b/inc/modules/member/action- index fdb3590d34..91e6a066ab 100644 --- a/inc/modules/member/action- +++ b/inc/modules/member/action- @@ -49,10 +49,10 @@ if (!defined('__SECURITY')) { ADD_DESCR("member", __FILE__); // Load the include file -$INC_WHAT = sprintf("%sinc/modules/member/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what'])); -if (FILE_READABLE($INC_WHAT)) { +$INC = sprintf("inc/modules/member/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); +if (FILE_READABLE($INC)) { // Ok, we finally load the member action module - include_once($INC_WHAT); + LOAD_INC($INC); } else { addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2); }