]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-payouts.php
Surfbar admin stats added (dummy), FILE_READABLE() added
[mailer.git] / inc / modules / admin / action-payouts.php
index 8871db900d75b8d6ad2c8c50914cbd8d993256e1..436253e508974e1ecf23d10a2da981522b194651 100644 (file)
@@ -43,14 +43,12 @@ ADD_DESCR("admin", basename(__FILE__));
 
 // Load the include file
 $INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, $GLOBALS['what']);
-if (file_exists($INC))
-{
+if (FILE_READABLE($INC)) {
        // Ok, we finally load the admin action module
        include($INC);
-}
- else
-{
+} else {
        ADD_FATAL(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
 }
+
 //
 ?>