X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-;h=2c6d438a15e02441c96ec9c7657bfffa226f69e7;hb=f01652b7b8efac92d97889e312402c4a845c2f14;hp=38264c411fcd9e63a62f675fb9f7dcb62b788e02;hpb=c45b1827a16928c65ecc1aea6a9d7a504c4874d4;p=mailer.git diff --git a/inc/modules/guest/action- b/inc/modules/guest/action- index 38264c411f..2c6d438a15 100644 --- a/inc/modules/guest/action- +++ b/inc/modules/guest/action- @@ -43,14 +43,12 @@ ADD_DESCR("guest", basename(__FILE__)); // Load the include file $INC = sprintf(PATH."inc/modules/guest/what-%s.php", $GLOBALS['what']); -if (file_exists($INC)) -{ +if (FILE_READABLE($INC)) { // Ok, we finally load the guest action module include($INC); -} - else -{ +} else { ADD_FATAL(GUEST_404_ACTION_1.$GLOBALS['what'].GUEST_404_ACTION_2); } + // ?>