X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fuberwach_functions.php;h=bb70a1e103d3ce9bffd501a6f0bb721e6568ca00;hb=6aa5b6c3d7c49ceb5a41b836657321e9c0b5dea5;hp=8f2a8e789ad594c8c94ea68cf19261a21a53ea65;hpb=086762b9606889fbda59d946b7b557d764ec2c0e;p=mailer.git diff --git a/inc/libs/uberwach_functions.php b/inc/libs/uberwach_functions.php index 8f2a8e789a..bb70a1e103 100644 --- a/inc/libs/uberwach_functions.php +++ b/inc/libs/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