diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-15 04:22:27 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-15 04:22:27 +1000 |
| commit | 2230f0a05195fc36b20a8d06f752894e9b437aba (patch) | |
| tree | ab0f829e3b39245e38ccb72f3deff371b42efd5d /inc/mod/pages.php | |
| parent | 9d770f456fe3a95ebfaa54985c334e65c01359b5 (diff) | |
disable $config['try_smarter'] on ?/rebuild
Diffstat (limited to 'inc/mod/pages.php')
| -rw-r--r-- | inc/mod/pages.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index ce7bdffb..ce21dc74 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1840,6 +1840,8 @@ function mod_rebuild() { if (isset($_POST['rebuild'])) { @set_time_limit($config['mod']['rebuild_timelimit']); + $config['try_smarter'] = false; + $log = array(); $boards = listBoards(); $rebuilt_scripts = array(); @@ -1871,6 +1873,7 @@ function mod_rebuild() { continue; openBoard($board['uri']); + $config['try_smarter'] = false; if (isset($_POST['rebuild_index'])) { buildIndex(); |
