mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-01 02:27:24 +01:00
Fix mod.php error when $config[debug]
This commit is contained in:
parent
3ee32993d7
commit
8578b5a4ee
2
mod.php
2
mod.php
@ -136,6 +136,8 @@ foreach ($pages as $key => $callback) {
|
|||||||
}
|
}
|
||||||
$pages = $new_pages;
|
$pages = $new_pages;
|
||||||
|
|
||||||
|
$parse_start_time = microtime(true);
|
||||||
|
|
||||||
foreach ($pages as $uri => $handler) {
|
foreach ($pages as $uri => $handler) {
|
||||||
if (preg_match($uri, $query, $matches)) {
|
if (preg_match($uri, $query, $matches)) {
|
||||||
$matches = array_slice($matches, 1);
|
$matches = array_slice($matches, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user