Changeset 31362


Ignore:
Timestamp:
02/22/16 17:43:16 (4 years ago)
Author:
ddtddt
Message:

[extensions] - AntiAspi - add admin for manage IP ban

Location:
extensions/AntiAspi
Files:
4 added
1 edited

Legend:

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

    r29307 r31362  
    2121define('ANTIASPI_TABLE' , $prefixeTable . 'antiaspi_ip_ban'); 
    2222define('ANTIASPI_LOG_TABLE' , $prefixeTable . 'antiaspi_log'); 
     23define('ANTIASPI_ADMIN',get_root_url().'admin.php?page=plugin-'.ANTIASPI_ID); 
    2324 
    2425add_event_handler('loc_end_section_init', 'antiaspi'); 
     
    122123  pwg_query($query); 
    123124} 
     125 
     126// Plugin for admin 
     127if (script_basename() == 'admin') { 
     128    include_once(dirname(__FILE__) . '/initadmin.php'); 
     129} 
Note: See TracChangeset for help on using the changeset viewer.