Nothing
This commit is contained in:
parent
7dbfa20d90
commit
b259f0fab4
@ -25,7 +25,7 @@ function ip4_in_cidr($ip, $cidr) {
|
|||||||
* @param string $ip IP to check in IPV6 format
|
* @param string $ip IP to check in IPV6 format
|
||||||
* @param string $cidr CIDR netmask
|
* @param string $cidr CIDR netmask
|
||||||
* @return boolean true if the IP is in this range, false otherwise.
|
* @return boolean true if the IP is in this range, false otherwise.
|
||||||
* @author MW. <https://stackoverflow.com/a/7952169/2534036>
|
* @author MW. <https://stackoverflow.com/a/7952169>
|
||||||
*/
|
*/
|
||||||
function ip6_in_cidr($ip, $cidr) {
|
function ip6_in_cidr($ip, $cidr) {
|
||||||
$address = inet_pton($ip);
|
$address = inet_pton($ip);
|
||||||
|
@ -156,7 +156,7 @@ function checkDBError($specials = []) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* http://stackoverflow.com/a/20075147/2534036
|
* http://stackoverflow.com/a/20075147
|
||||||
*/
|
*/
|
||||||
if (!function_exists('base_url')) {
|
if (!function_exists('base_url')) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user