X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-stats.php;h=7422f6c61302bbd4a66b2de491ffc4fcdbef4eac;hb=4ef4c88fc481335dc0631b223111c15a84cccb51;hp=3cd387404bff342d4864d923fdf7d88cb87d024d;hpb=61bddb167e29e7275f5a1c9fa8cb80431fa5ee6f;p=mailer.git diff --git a/inc/modules/admin/action-stats.php b/inc/modules/admin/action-stats.php index 3cd387404b..7422f6c613 100644 --- a/inc/modules/admin/action-stats.php +++ b/inc/modules/admin/action-stats.php @@ -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); } + // ?>