X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-sponsor.php;h=d2a0a9c9eb912cb946f93273ef110dc5a79010ae;hp=30b6a5230965d694a1bb9a752506221b786084f4;hb=397eb5dee2611cfaa1ff494d73e6785b88109cd6;hpb=97eb53f4fdcc3f433dea23d09efde744d52a3740 diff --git a/inc/modules/guest/action-sponsor.php b/inc/modules/guest/action-sponsor.php index 30b6a52309..d2a0a9c9eb 100644 --- a/inc/modules/guest/action-sponsor.php +++ b/inc/modules/guest/action-sponsor.php @@ -46,10 +46,10 @@ if (!defined('__SECURITY')) { ADD_DESCR("guest", __FILE__); // Load the include file -$INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what'])); +$INC = sprintf("inc/modules/guest/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); if (FILE_READABLE($INC)) { // Ok, we finally load the guest action module - require($INC); + LOAD_INC($INC); } elseif ($IS_VALID) { addFatalMessage(sprintf(getMessage('GUEST_404_ACTION'), SQL_ESCAPE($GLOBALS['what']))); } else {