X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-order.php;h=5248f12891848bcb37a9ad89bcb9d807e727bf5e;hp=d8455dc7ad65af639eb794ad67b6706b47b31d24;hb=397eb5dee2611cfaa1ff494d73e6785b88109cd6;hpb=5bdeaf8b452206598b6c6cd4f941145b11a0eccc diff --git a/inc/modules/member/action-order.php b/inc/modules/member/action-order.php index d8455dc7ad..5248f12891 100644 --- a/inc/modules/member/action-order.php +++ b/inc/modules/member/action-order.php @@ -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 - require($INC_WHAT); + LOAD_INC($INC); } else { addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2); }