X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-main.php;h=a555c07e79914463f22311a1839ec9a716f178ca;hb=78de893e6a62885f106b8176aece16847c09eea2;hp=bb1a284f36b5cbe444470ebd2c8c72a20aeda4af;hpb=f97a999e0737c0007ae9c3c26dfef49f75a175ac;p=mailer.git diff --git a/inc/modules/guest/action-main.php b/inc/modules/guest/action-main.php index bb1a284f36..a555c07e79 100644 --- a/inc/modules/guest/action-main.php +++ b/inc/modules/guest/action-main.php @@ -50,9 +50,9 @@ ADD_DESCR('guest', __FILE__); // Load the include file $INC = sprintf("inc/modules/guest/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); -if (INCLUDE_READABLE($INC)) { +if (isIncludeReadable($INC)) { // Ok, we finally load the guest action module - LOAD_INC($INC); + loadInclude($INC); } else { addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), $GLOBALS['what']); }