forked from leftypol/leftypol
new banlist implementation; also includes a public banlist
This commit is contained in:
parent
906764a62f
commit
9b3fa77719
10 changed files with 424 additions and 156 deletions
|
@ -4,7 +4,11 @@
|
|||
function ukko_build($action, $settings) {
|
||||
$ukko = new ukko();
|
||||
$ukko->settings = $settings;
|
||||
|
||||
|
||||
if (! ($action == 'all' || $action == 'post' || $action == 'post-thread' || $action == 'post-delete')) {
|
||||
return;
|
||||
}
|
||||
|
||||
file_write($settings['uri'] . '/index.html', $ukko->build());
|
||||
file_write($settings['uri'] . '/ukko.js', Element('themes/ukko/ukko.js', array()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue