Ignore:
Timestamp:
May 28, 2014, 11:00:26 PM (11 years ago)
Author:
chronos
Message:
  • Added: Better handling of repeater false referrer links. Now use manual BlackList table for checking which IP source is blocked.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/UpdateTrace.php

    r803 r811  
    28062806}
    28072807
     2808function UpdateTo811($Manager)
     2809{
     2810  $Manager->Execute('CREATE TABLE IF NOT EXISTS `BlackList` (
     2811  `Id` int(11) NOT NULL AUTO_INCREMENT,
     2812  `Time` datetime NOT NULL,
     2813  `IP` varchar(255) NOT NULL,
     2814  PRIMARY KEY (`Id`)
     2815  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;');
     2816}
     2817
    28082818$Updates = array(
    28092819        498 => array('Revision' => 506, 'Function' => 'UpdateTo506'),
     
    28332843  748 => array('Revision' => 787, 'Function' => 'UpdateTo787'),
    28342844  787 => array('Revision' => 803, 'Function' => 'UpdateTo803'),
     2845  803 => array('Revision' => 811, 'Function' => 'UpdateTo811'),
    28352846);
Note: See TracChangeset for help on using the changeset viewer.