1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 01:34:31 +01:00

have this handy in case i need to shut off /infinity/'s settings again

This commit is contained in:
8chan 2015-02-25 17:18:01 -08:00
parent fbb85593fa
commit 276f2e58ad

View File

@ -423,6 +423,9 @@ FLAGS;
$config['mod']['custom_pages']['/settings/(\%b)'] = function($b) {
global $config, $mod;
//if ($b === 'infinity' && $mod['type'] !== ADMIN)
// error('Settings temporarily disabled for this board.');
if (!in_array($b, $mod['boards']) and $mod['boards'][0] != '*')
error($config['error']['noaccess']);