
01-24-2013, 12:08 AM
|
 |
|
|
Join Date: Mar 2007
Location: Spain
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Cybex
We fixed it ourselves by editing the class_core.php bit:
Code:
// Detect ALL.
if ($registry->ipaddress == $registry->alt_ip)
{
define('PROXYIP','');
}
else
{
$proxy = true;
define('PROXYIP',$registry->ipaddress);
}
if ($proxy)
{
define('ALT_IP', $this->ipaddress);
define('IPADDRESS', $_SERVER['HTTP_X_FORWARDED_FOR']);
}
else
{
define('IPADDRESS', $_SERVER['HTTP_X_FORWARDED_FOR']);
define('ALT_IP', $this->alt_ip);
}
Now the proxy details aren't written properly, but that's not that important for me. At least I see the real IP addresses now.
|
Thank for this, i hope Paul M fix it in next release or anyone make a mod for working only vBulletin + Google Pagespeed Service...
|