mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
Merge vichan
This commit is contained in:
commit
c1d4390759
@ -24,6 +24,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static function gen_json($settings) {
|
public static function gen_json($settings) {
|
||||||
|
global $config, $mod;
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
Bans::stream_json(false, false, !hasPermission($config['mod']['view_banstaff']), $mod['boards']);
|
Bans::stream_json(false, false, !hasPermission($config['mod']['view_banstaff']), $mod['boards']);
|
||||||
$out = ob_get_contents();
|
$out = ob_get_contents();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user