]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-menu.php
More constant rewrites
[mailer.git] / inc / modules / admin / action-menu.php
index eec930c8ea834e50c1a1ad4eb3588653234eeaef..80157d237c412cfbc139a7a1a25c3b6b4871d17a 100644 (file)
@@ -42,11 +42,11 @@ ADD_DESCR("admin", __FILE__);
 
 // Load the include file
 $INC = sprintf("inc/modules/admin/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
-if (FILE_READABLE($INC)) {
+if (INCLUDE_READABLE($INC)) {
        // Ok, we finally load the admin action module
        LOAD_INC($INC);
 } else {
-       addFatalMessage(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
+       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
 }
 
 //