Sitemap theme: Minimum time between generating, and only generate on post-thread and post-delete

This commit is contained in:
Michael Foster 2013-08-28 18:30:01 +10:00
parent 5aaa6887f6
commit f8f375ec30
2 changed files with 17 additions and 1 deletions

View file

@ -35,6 +35,15 @@
'default' => 'hourly',
'size' => '20'
);
$theme['config'][] = Array(
'title' => 'Minimum time between regenerating',
'name' => 'regen_time',
'type' => 'text',
'comment' => '(in seconds)',
'default' => '0',
'size' => '8'
);
$__boards = listBoards();
$__default_boards = Array();