Logging of SMTP (PHPMailer) class errors added, old lost removed
[mailer.git] / inc / libs / uberwach_functions.php
index 7d6b3420ecd4a44c3e9714328abf62eac3775804..2347359adf232f0f7a33a7a1b13e4829f64c8746 100644 (file)
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -43,11 +44,8 @@ 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', false, $content);
+       $GLOBALS['page_footer'] .= loadTemplate('uberwach_snippet', true);
 }
 
 // Filter for displaying uberwach snippet