]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-login.php
Fix in CREATE_EXTENSION_DEACTIVATION_TASK() and coding-style updated
[mailer.git] / inc / modules / admin / action-login.php
index 9e7aed0ab00bb8100f83dee9e97cf320b91c10f1..5e51c7f267be84507c34f9442dbe693b5c060d1e 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);