- obsolete templates/scripts removed
[mailer.git] / 0.2.1 / modules.php
index 76c463dc84b1b568ed07a95aa1107adc5fd3dffa..f700cb43f3a72ae968dd196a6761efda5c2659d0 100644 (file)
@@ -8,11 +8,11 @@
  * -------------------------------------------------------------------- *\r
  * Short description : Main loader file. Loads our needed stuff         *\r
  * -------------------------------------------------------------------- *\r
- * Kurzbeschreibung  : Hauptladedatei. Lädt alle benötigten Dateien     *\r
+ * Kurzbeschreibung  : Hauptladedatei. L�dt alle ben�tigten Dateien     *\r
  * -------------------------------------------------------------------- *\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
@@ -42,8 +42,8 @@ global $what, $action;
 $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
@@ -126,7 +126,7 @@ if ((!empty($CONFIG['maintenance'])) && ($CONFIG['maintenance'] == "Y") && (!IS_
                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