]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-menu.php
Mahor rewrite:
[mailer.git] / inc / modules / admin / action-menu.php
index 4eb92e296645917ec9e7ae6e484674bb049c8b24..2643a16251ec3c1da1fe396b2f3fdef0471e411a 100644 (file)
@@ -38,10 +38,10 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
 
 // Load the include file
-$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, $GLOBALS['what']);
+$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what']));
 if (FILE_READABLE($INC)) {
        // Ok, we finally load the admin action module
        include($INC);