]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-sponsor.php
Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / guest / action-sponsor.php
index a0b1fcae651a2fd34af9755014384df2b8b6845b..1277bd1cb3244722e09439382c1c5ddedbca6a5c 100644 (file)
@@ -52,9 +52,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']);
 }