[SECURITY] Lessen security impact
post.php: misc fixes
This commit is contained in:
8
mod.php
8
mod.php
@@ -94,10 +94,10 @@ $pages = array(
|
||||
'/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',
|
||||
//'/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:
|
||||
'/(\%b)/' => 'view_board',
|
||||
|
Reference in New Issue
Block a user