// Some security stuff...
if (!defined('__SECURITY')) {
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
require($INC);
}
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
// Is config enabled?
if (getConfig('removeip_anon_ua') == 'Y') {
// Set anon user agent
- $userAgent = "-";
+ $userAgent = '-';
} // END - if
// Return it
// Is config enabled?
if (getConfig('removeip_anon_ref') == 'Y') {
// Set anon user agent
- $referer = "-";
+ $referer = '-';
} // END - if
// Return it