]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-doubler.php
Obsolete action=login removed from URLs
[mailer.git] / inc / modules / admin / action-doubler.php
index 08cfc5f29c7d40628b8d0c79b8497582a6e28a89..e46963e93b641585151e1689d89818f53a266de1 100644 (file)
@@ -42,12 +42,12 @@ 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 {
        // "what file" not found
-       addFatalMessage(getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
+       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
 }
 
 //