]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/removeip_functions.php
Deprecation of ext-rewrite as of ext-seo prepared and ext-imprint/seo added (UNFINISHED)
[mailer.git] / inc / libs / removeip_functions.php
index 31c312e361a599129f4177c9f9aaa65793db607b..84cf2ce3ae04d2b9a90e62d7bb77767636725e5f 100644 (file)
@@ -54,7 +54,7 @@ function GET_ANONYMOUS_REMOTE_ADDR ($remoteAddr) {
                                break;
 
                        case "RANDOM": // Pseudo-random IP number
-                               $remoteAddr = mt_rand(1,254).".".mt_rand(0,254).".".mt_rand(0,254).".".mt_rand(1,254);
+                               $remoteAddr = mt_rand(1,254).'.'.mt_rand(0,254).'.'.mt_rand(0,254).'.'.mt_rand(1,254);
                                break;
                } // END - switch
        } // END - if
@@ -78,7 +78,7 @@ function GET_ANONYMOUS_USER_AGENT ($userAgent) {
        // Is config enabled?
        if (getConfig('removeip_anon_ua') == 'Y') {
                // Set anon user agent
-               $userAgent = "-";
+               $userAgent = '-';
        } // END - if
 
        // Return it
@@ -89,7 +89,7 @@ function GET_ANONYMOUS_REFERER ($referer) {
        // Is config enabled?
        if (getConfig('removeip_anon_ref') == 'Y') {
                // Set anon user agent
-               $referer = "-";
+               $referer = '-';
        } // END - if
 
        // Return it