X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fmember%2Faction-extras.php;h=6aae2a04974f6b5d0914c817ef80dff5899a191a;hb=039312ca6ac674e45b94ed9659499bc69efb4e5b;hp=0badee216ad7c943884335b060be47a3f883d75b;hpb=e3d9cad1ecbc188f33fbc909e6df2b2d4aeefa0e;p=mailer.git diff --git a/inc/modules/member/action-extras.php b/inc/modules/member/action-extras.php index 0badee216a..6aae2a0497 100644 --- a/inc/modules/member/action-extras.php +++ b/inc/modules/member/action-extras.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 (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); }