mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
commit
420ec4a852
@ -818,7 +818,7 @@ function mod_ip_remove_note($cloaked_ip, $id) {
|
||||
|
||||
|
||||
|
||||
function mod_page_ip($cip) {
|
||||
function mod_ip($cip) {
|
||||
$ip = uncloak_ip($cip);
|
||||
global $config, $mod;
|
||||
|
||||
|
2
mod.php
2
mod.php
@ -188,8 +188,6 @@ foreach ($pages as $uri => $handler) {
|
||||
if (is_string($handler)) {
|
||||
if ($handler[0] == ':') {
|
||||
header('Location: ' . substr($handler, 1), true, $config['redirect_http']);
|
||||
} elseif (is_callable("mod_page_$handler")) {
|
||||
call_user_func_array("mod_page_$handler", $matches);
|
||||
} elseif (is_callable("mod_$handler")) {
|
||||
call_user_func_array("mod_$handler", $matches);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user