You are here

constant IP_BAN_NOBAN in IP Ban 8

Same name and namespace in other branches
  1. 7 ip_ban.module \IP_BAN_NOBAN

@file Module can "ban" or set site to "read only" by country or IP address.

Permissions, administration menu item, form, form theme, form validation, and code for handling read-only and banned IP addresses by country or individually.

3 uses of IP_BAN_NOBAN
IpBanAdmin::buildForm in src/IpBanAdmin.php
IpBanSetBanManager::iPBanSetValue in src/IpBanSetBanManager.php
Set the user's ban value based on their country or individual IP address.
ip_ban_admin in ./ip_ban.admin.inc
Ip_ban admin form.

File

./ip_ban.module, line 16
Module can "ban" or set site to "read only" by country or IP address.

Code

define('IP_BAN_NOBAN', 0);