Code rewritings, load base config improved and many minor fixes...
[mailer.git] / 0.2.1 / css.php
index 82691293d39807733de9b8b8f9f43a49cefd67bf..e8813c42321527f6e5d9f6c246fc92546aea2252 100644 (file)
@@ -40,8 +40,8 @@ require_once("inc/libs/security_functions.php");
 // Init "action" and "what"\r
 global $what, $action;\r
 $GLOBALS['what'] = ""; $GLOBALS['action'] = "";\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
 // This is a CSS file loader!\r
 $CSS = "1"; $GLOBALS['module'] = "css";\r