X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fmember%2Faction-main.php;h=3117c2cec8191e20572499a5b02ac1b2dda3e0ef;hb=deb4293fa309b70be72d66b394e7253c8ea7d351;hp=27bd965b3c08fe9e539fc7974403516cc1da15e3;hpb=97eb53f4fdcc3f433dea23d09efde744d52a3740;p=mailer.git diff --git a/inc/modules/member/action-main.php b/inc/modules/member/action-main.php index 27bd965b3c..3117c2cec8 100644 --- a/inc/modules/member/action-main.php +++ b/inc/modules/member/action-main.php @@ -46,10 +46,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 (INCLUDE_READABLE($INC)) { // Ok, we finally load the member action module - require($INC_WHAT); + LOAD_INC($INC); } else { addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2); }