]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-task.php
Notice fixed, email navi now shown if on 2+ page
[mailer.git] / inc / modules / admin / action-task.php
index 4c7691cd5c899a26e3e010deddf27d10b5f809ba..832c40a582523e0afc844e00a553c1122a4d7a9b 100644 (file)
@@ -45,14 +45,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);
 }
+
 //
 ?>