Imported the product, installed the icon Did the mod to /includes/class_core.php:
PHP Code:
// set debug mode
$this->debug = !empty($this->config['Misc']['debug']);
define('DEBUG', $this->debug);
$proxy = false;
if (isset($this->config['Misc']['proxyiplist']))
{
$proxylist = array_map('trim', explode(',', $this->config['Misc']['proxyiplist']));
if (in_array($this->ipaddress, $proxylist))
{
$proxy = true;
if (isset($this->config['Misc']['proxyipheader'])
AND isset($_SERVER[$this->config['Misc']['proxyipheader']]))
{
$altip = $_SERVER[$this->config['Misc']['proxyipheader']];
if ($this->input->filter_ip($altip))
{
$this->alt_ip = $altip;
}
}
}
}
// 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', $this->alt_ip);
}
else
{
define('IPADDRESS', $this->ipaddress);
define('ALT_IP', $this->alt_ip);
}
define('SESSION_HOST', substr(IPADDRESS, 0, 15));
}
/**
* Takes the contents of an array and recursively uses each title/data
* pair to create a new defined constant.
*/
Tried to login thru couple anonimous proxy ips (61.135.209.203:81 and 89.248.168.139:8080)...no "red" ip