forked from GithubBackups/vichan
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) {
|
$config['mod']['custom_pages']['/settings/(\%b)'] = function($b) {
|
||||||
global $config, $mod;
|
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] != '*')
|
if (!in_array($b, $mod['boards']) and $mod['boards'][0] != '*')
|
||||||
error($config['error']['noaccess']);
|
error($config['error']['noaccess']);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user