]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-sponsor.php
Direct registration added, typo fixed, admin session on missing/failed login fixed...
[mailer.git] / inc / modules / guest / action-sponsor.php
index 4f7c9b526e5f10ab4d5cd3f8da1e39132d598652..deeabb891b61f044879b04f8b179907d4b36d946 100644 (file)
@@ -37,10 +37,10 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+ADD_DESCR("guest", __FILE__);
 
 // Load the include file
-$INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, $GLOBALS['what']);
+$INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what']));
 if (FILE_READABLE($INC)) {
        // Ok, we finally load the guest action module
        include($INC);