1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Moved 'Failed logins' onto the banlist admin area. Separated whitelists and blacklists into their own pages.

This commit is contained in:
Cameron
2015-04-13 00:20:36 -07:00
parent a2fdd27d7b
commit 0df60a4bf1
4 changed files with 181 additions and 15 deletions

View File

@@ -219,7 +219,7 @@ class e_online
{
e107::lan('core','banlist',true);//e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_banlist.php'
$reason = e107::getParser()->lanVars(BANLAN_78,$row['online_pagecount']); // str_replace('--HITS--',$row['online_pagecount'], BANLAN_78)
if (true === e107::getIPHandler()->add_ban(2, $reason, $ip,0))
{
e107::getEvent()->trigger('flood', $ip); //BC