1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-24 15:12:18 +01:00

Update mod.php

This commit is contained in:
Ron 2017-04-08 01:03:15 +09:00 committed by GitHub
parent f801b85094
commit 52b90a8208

View File

@ -104,13 +104,7 @@ $pages = array(
'/config' => 'secure_POST config', // config editor '/config' => 'secure_POST config', // config editor
'/config/(\%b)' => 'secure_POST config', // config editor '/config/(\%b)' => 'secure_POST config', // config editor
// these pages aren't listed in the dashboard without $config['debug']
'/debug/antispam' => 'debug_antispam',
'/debug/recent' => 'debug_recent_posts',
'/debug/apc' => 'debug_apc',
'/debug/sql' => 'secure_POST debug_sql',
// This should always be at the end: // This should always be at the end:
'/(\%b)/?' => 'view_board', '/(\%b)/?' => 'view_board',
'/(\%b)/' . preg_quote($config['file_index'], '!') => 'view_board', '/(\%b)/' . preg_quote($config['file_index'], '!') => 'view_board',