advanced build (1/2): a small refactor of index generating procedure; generation strategies
This commit is contained in:
1 parent
644f227ab3
commit
b6f0317bde
8 files changed
+169
-47
No files matched your search
@@ -23,10 +23,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
if ($config['smart_build']) {
|
||||
$action = generation_strategy('sb_sitemap', array());
|
||||
|
||||
if ($action == 'delete') {
|
||||
file_unlink($settings['path']);
|
||||
}
|
||||
else {
|
||||
elseif ($action == 'rebuild') {
|
||||
$boards = explode(' ', $settings['boards']);
|
||||
|
||||
$threads = array();
|
||||
|
||||
Reference in new issue
Block a user