]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/uberwach_functions.php
Fixes for HTML in extension menu SQLs. :(
[mailer.git] / inc / libs / uberwach_functions.php
index 8f2a8e789ad594c8c94ea68cf19261a21a53ea65..90b98678135aed5ee80ade06abe0f01c314f8e14 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/31/2009 *
- * ===============                              Last change: 09/31/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 09/31/2009 *
+ * ===================                          Last change: 09/31/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : uberwach_functions.php                           *
@@ -43,8 +43,11 @@ if (!defined('__SECURITY')) {
 
 // Loads the snippet for the uberwach action
 function loadUberwachSnippet () {
+       // Detect IP address
+       $content['REMOTE_ADDR'] = detectRemoteAddr();
+
        // Simply load the template here
-       loadTemplate('uberwach_snippet');
+       loadTemplate('uberwach_snippet', false, $content);
 }
 
 // Filter for displaying uberwach snippet