X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-;h=2c6d438a15e02441c96ec9c7657bfffa226f69e7;hb=ae80e170b5d25a4782af90a7c3d81fbb176fa293;hp=c10ba15b5adc03de849ae54915b136f3c60bd44c;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/inc/modules/guest/action- b/inc/modules/guest/action- index c10ba15b5a..2c6d438a15 100644 --- a/inc/modules/guest/action- +++ b/inc/modules/guest/action- @@ -12,7 +12,7 @@ * -------------------------------------------------------------------- * * * * -------------------------------------------------------------------- * - * Copyright (c) 2003, 2004, 2005, 2006, 2007 by Roland Haeder * + * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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); } + // ?>