This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/ipban/info.php
2019-08-07 15:40:01 -05:00

28 lines
780 B
PHP

<?php
/*
* Name: IP Ban
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Ban IP addresses
* Documentation:
*
*/
class IPBanInfo extends ExtensionInfo
{
public const KEY = "ipban";
public $key = self::KEY;
public $name = "IP Ban";
public $url = self::SHIMMIE_URL;
public $authors = self::SHISH_AUTHOR;
public $license = self::LICENSE_GPLV2;
public $description = "Ban IP addresses";
public $documentation =
"<b>Adding a Ban</b>
<br>IP: Can be a single IP (eg. 123.234.210.21), or a CIDR block (eg. 152.23.43.0/24)
<br>Reason: Any text, for the admin to remember why the ban was put in place
<br>Until: Either a date in YYYY-MM-DD format, or an offset like \"3 days\"";
}