ADD_DESCR("guest", basename(__FILE__));
// Load the include file
-$INC = sprintf(PATH."inc/modules/guest/what-%s.php", $GLOBALS['what']);
-if (file_exists($INC))
-{
+$INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, $GLOBALS['what']);
+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);
}
+
//
?>