constant IP_BAN_READONLY in IP Ban 8
Same name and namespace in other branches
- 7 ip_ban.module \IP_BAN_READONLY
2 uses of IP_BAN_READONLY
- IpBanSetBanManager::iPBanDetermineAction in src/
IpBanSetBanManager.php - Determines action based on current user's ban setting.
- IpBanSetBanManager::iPBanSetValue in src/
IpBanSetBanManager.php - Set the user's ban value based on their country or individual IP address.
File
- ./
ip_ban.module, line 17 - Module can "ban" or set site to "read only" by country or IP address.
Code
define('IP_BAN_READONLY', 1);