Fixed bug/typo
This commit is contained in:
parent
e4cb574018
commit
3b3e696427
@ -44,7 +44,7 @@
|
|||||||
$_SESSION['mod'] = $mod;
|
$_SESSION['mod'] = $mod;
|
||||||
|
|
||||||
// Lock sessions to IP addresses
|
// Lock sessions to IP addresses
|
||||||
if($mod['lock_ip'])
|
if($config['mod']['lock_ip'])
|
||||||
$_SESSION['mod']['ip'] = $_SERVER['REMOTE_ADDR'];
|
$_SESSION['mod']['ip'] = $_SERVER['REMOTE_ADDR'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user