diff --git a/README.md b/README.md index 8cae3f0..3cdaafe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ YourlsBlacklistIPs -================== +Plugin for Yourls allowing to blacklist IPs -Plugin for Yourls : IP blacklisting \ No newline at end of file +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"); diff --git a/plugin.php b/plugin.php index 551ae4f..83694af 100644 --- a/plugin.php +++ b/plugin.php @@ -18,7 +18,6 @@ function Ludo_BlackListIP_Root ( $args ) { global $yourls_blacklist_ip; - $BlackListIP = $args[0]; if (in_array($BlackListIP, $yourls_blacklist_ip)) {