IPv6 for mod.php
This commit is contained in:
parent
e0653147e4
commit
7e3905d5fd
2 changed files with 3 additions and 1 deletions
2
mod.php
2
mod.php
|
@ -603,7 +603,7 @@
|
|||
'mod'=>true
|
||||
)
|
||||
);
|
||||
} elseif(preg_match('/^\/IP\/(\d+\.\d+\.\d+\.\d+)$/', $query, $matches)) {
|
||||
} elseif(preg_match('/^\/IP\/(\d+\.\d+\.\d+\.\d+|' . $config['ipv6_regex'] . ')$/', $query, $matches)) {
|
||||
// View information on an IP address
|
||||
|
||||
$ip = $matches[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue