]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-login.php
'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / modules / admin / action-login.php
index 1a9cf120d6e54da1ac37df1f7f84c6fd5e1f889f..594a50a313396b8632e8d1598b0949b07ca5c854 100644 (file)
@@ -46,12 +46,12 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 ADD_DESCR('admin', __FILE__);
 
 // Load the include file
-$INC = sprintf("inc/modules/admin/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
+$INC = sprintf("inc/modules/admin/what-%s.php", getWhat());
 if (isIncludeReadable($INC)) {
        // Ok, we finally load the admin action module
        loadInclude($INC);
 } else {
-       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
+       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), getWhat());
 }
 
 //