disable $config['try_smarter'] on ?/rebuild
This commit is contained in:
parent
9d770f456f
commit
2230f0a051
@ -1840,6 +1840,8 @@ function mod_rebuild() {
|
|||||||
if (isset($_POST['rebuild'])) {
|
if (isset($_POST['rebuild'])) {
|
||||||
@set_time_limit($config['mod']['rebuild_timelimit']);
|
@set_time_limit($config['mod']['rebuild_timelimit']);
|
||||||
|
|
||||||
|
$config['try_smarter'] = false;
|
||||||
|
|
||||||
$log = array();
|
$log = array();
|
||||||
$boards = listBoards();
|
$boards = listBoards();
|
||||||
$rebuilt_scripts = array();
|
$rebuilt_scripts = array();
|
||||||
@ -1871,6 +1873,7 @@ function mod_rebuild() {
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
openBoard($board['uri']);
|
openBoard($board['uri']);
|
||||||
|
$config['try_smarter'] = false;
|
||||||
|
|
||||||
if (isset($_POST['rebuild_index'])) {
|
if (isset($_POST['rebuild_index'])) {
|
||||||
buildIndex();
|
buildIndex();
|
||||||
|
Loading…
Reference in New Issue
Block a user