]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-members.php
Withdraw now only allowed to sponsor in wernis/primera extension. Payout (untested...
[mailer.git] / inc / modules / guest / action-members.php
index 1b2c0460a231a2e5700537edb0e44bcb1f6e4188..3a3b270e6e9a7032cd3fc03bc7687d6b47f8711a 100644 (file)
@@ -43,14 +43,12 @@ ADD_DESCR("guest", basename(__FILE__));
 
 // Load the include file
 $INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, $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);
 }
+
 //
 ?>