]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-members.php
Reset rewritten, SQL fixed, zeros are now numeric
[mailer.git] / inc / modules / guest / action-members.php
index 911c408d0ba1e314b263637e723afc97623ee0d5..3a3b270e6e9a7032cd3fc03bc7687d6b47f8711a 100644 (file)
@@ -42,15 +42,13 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 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);
 }
+
 //
 ?>