X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-surfbar.php;h=214a66bbf39b7544f124a0f17d12ba063fc4dede;hb=1fe7cf281be6832ba105934537aba5127892c576;hp=c2090cdf441cb5dd74a79bed312b92d183754594;hpb=97eb53f4fdcc3f433dea23d09efde744d52a3740;p=mailer.git diff --git a/inc/modules/member/action-surfbar.php b/inc/modules/member/action-surfbar.php index c2090cdf44..214a66bbf3 100644 --- a/inc/modules/member/action-surfbar.php +++ b/inc/modules/member/action-surfbar.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); }