]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-setup.php
Obsolete action=login removed from URLs
[mailer.git] / inc / modules / admin / action-setup.php
index de7d1a4455807582415e2b8b61ebf9093707899c..7cd97ecf3c89e54cc8f6ba283b14eb2fd501cd53 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(getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
+       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
 }
 
 //