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:
parent
fbb85593fa
commit
276f2e58ad
@ -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']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user