]> git.mxchange.org Git - mailer.git/blobdiff - 0.2.1/img.php
- obsolete templates/scripts removed
[mailer.git] / 0.2.1 / img.php
index f8686a6e870a6057160c5ec414548d221f123e30..bedf3aa60778da643551e6878355b594daf39908 100644 (file)
@@ -12,7 +12,7 @@
  * -------------------------------------------------------------------- *\r
  *                                                                      *\r
  * -------------------------------------------------------------------- *\r
- * Copyright (c) 2003 - 2007 by Roland Haeder                           *\r
+ * Copyright (c) 2003 - 2008 by Roland Haeder                           *\r
  * For more information visit: http://www.mxchange.org                  *\r
  *                                                                      *\r
  * This program is free software; you can redistribute it and/or modify *\r
@@ -37,10 +37,10 @@ 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
-// Set module\r
+// Setmodule\r
 $GLOBALS['module'] = "img"; $CSS = -1;\r
 \r
 // Load the required file(s)\r