]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-misc.php
Queries improved
[mailer.git] / inc / modules / admin / action-misc.php
index 95d0b1e5890acfbf8d6a58d563070b5b4875275b..48222b8e639b3e56459b1b6c90df056f081dffa7 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);
 }
+
 //
 ?>