]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-transfer.php
'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / modules / admin / action-transfer.php
index 7943de4b0c403fca2b929ed327f6be30da2d3b68..ef4c9680a8612e3d0257f54ba08c032eeba6fc8e 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']));
-if (INCLUDE_READABLE($INC)) {
+$INC = sprintf("inc/modules/admin/what-%s.php", getWhat());
+if (isIncludeReadable($INC)) {
        // Ok, we finally load the admin action module
-       LOAD_INC($INC);
+       loadInclude($INC);
 } else {
-       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']);
+       addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), getWhat());
 }
 
 //