Ignore:
Timestamp:
Feb 27, 2016, 8:52:46 AM (9 years ago)
Author:
ddtddt
Message:

[extensions] - AntiAspi - update page admin ip ban / update language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AntiAspi/main.inc.php

    r31370 r31372  
    6161    FROM ' . ANTIASPI_TABLE . '
    6262    WHERE ip="' . $Vip . '"
    63     AND date > ADDTIME(NOW(), "-' . $antiaspi['banned during'] . '");';
     63        AND date > ADDTIME(NOW(), "-' . $antiaspi['banned during'] . '");';
     64   
     65        /* Change for subdate for change conf by nb day;
     66        AND date > SUBDATE(NOW(), INTERVAL ' . $antiaspi['banned during'] . ' DAY);';
     67        */
    6468
    6569  $result = pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.