README details

This commit is contained in:
LudoBoggio
2012-09-02 21:50:00 +02:00
parent 5a4b5dca1c
commit b7ea480fa0
2 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,14 @@
YourlsBlacklistIPs YourlsBlacklistIPs
================== Plugin for Yourls allowing to blacklist IPs
Plugin for Yourls : IP blacklisting This plugin is intended to be used with YOURLS (cf. http://yourls.org)
It has been tested on v1.5.1
Current version is 1.0, created on 09/02/2012
Contact Ludo at Ludo.Boggio+GitHub@GMail.com
In the actual version, blackliste IPs must be add by hand in the config.php file, addind, at the end, a line like this :
$yourls_blacklist_ip = array ("149.3.136.114","109.190.10.179");

View File

@ -18,7 +18,6 @@ function Ludo_BlackListIP_Root ( $args ) {
global $yourls_blacklist_ip; global $yourls_blacklist_ip;
$BlackListIP = $args[0]; $BlackListIP = $args[0];
if (in_array($BlackListIP, $yourls_blacklist_ip)) { if (in_array($BlackListIP, $yourls_blacklist_ip)) {