]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-admins.php
admin_new_ext.tpl now resists in right folder, some minor changes
[mailer.git] / inc / modules / admin / action-admins.php
index 9e4c6b28ee5b2db910b592cef6e49ff49444f71f..95c4b724b20b809226e18b3c21f63c1a0460ffd2 100644 (file)
@@ -42,11 +42,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)) && (is_readable($INC))) {
+if (FILE_READABLE($INC)) {
        // Ok, we finally load the admin action module
        include($INC);
 } else {
        ADD_FATAL(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
 }
+
 //
 ?>