$CSS = 0;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
$GLOBALS['userid'] = 0;\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Secure the module name (very important line!)\r
$GLOBALS['module'] = htmlentities(strip_tags($_GET['module']), ENT_QUOTES);\r
break;\r
\r
case "404":\r
- ADD_FATAL(LLANG_MOD_REG_404_1.$GLOBALS['module'].LANG_MOD_REG_404_2);\r
+ ADD_FATAL(LANG_MOD_REG_404_1.$GLOBALS['module'].LANG_MOD_REG_404_2);\r
break;\r
\r
case "locked":\r