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']));
$IS_VALID = WHAT_IS_VALID($GLOBALS['action'], $GLOBALS['what'], "guest");
if ((FILE_READABLE($INC)) && ($IS_VALID)) {
// Ok, we finally load the guest action module
- require_once($INC);
+ LOAD_INC($INC);
} elseif ($IS_VALID) {
addFatalMessage(sprintf(getMessage('GUEST_404_ACTION'), SQL_ESCAPE($GLOBALS['what'])));
} else {