]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/index.php
Fixed logfile writing in installation phase, .revision is now ignored
[mailer.git] / inc / modules / index.php
index 8ca5c6cf014d7452bcd4cbca87de777cb60e2d2a..64f88cce418a5b4fcfdd6de013d062448eccfab6 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Eingangsseite                                    *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -47,15 +52,15 @@ define('__GUEST_ADVERT', LOAD_TEMPLATE("guest_advert", true));
 LOAD_TEMPLATE("guest_header");
 
 // Add message here
-if (!empty($_GET['msg'])) {
+if (REQUEST_ISSET_GET(('msg'))) {
        // Default extension is "unknown"
        $ext = "unknown";
 
        // Is extension given?
-       if (!empty($_GET['ext'])) $ext = SQL_ESCAPE($_GET['ext']);
+       if (REQUEST_ISSET_GET(('ext'))) $ext = REQUEST_GET(('ext'));
 
        // Which message shall we output?
-       $msg = convertCodeToMessage($_GET['msg']);
+       $msg = convertCodeToMessage(REQUEST_GET('msg'));
 
        // Load message template
        LOAD_TEMPLATE("message", false, $msg);
@@ -83,7 +88,7 @@ if ((getConfig('guest_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) {
 LOAD_TEMPLATE("guest_menu_content");
 
 // Disable block-mode by default
-$BLOCK_MODE = false;
+$GLOBALS['block_mode'] = false;
 
 // Construct FQFN
 $INC = sprintf("inc/modules/guest/action-%s.php", $GLOBALS['action']);