Fixed working on some broken shared hostings. Thanks for Belarussian anon for reporting.
This commit is contained in:
parent
2804c6b775
commit
c240056865
@ -1551,7 +1551,7 @@ function mod_deletebyip($boardName, $post, $global = false) {
|
||||
if ($query->rowCount() < 1)
|
||||
error($config['error']['invalidpost']);
|
||||
|
||||
set_time_limit($config['mod']['rebuild_timelimit']);
|
||||
@set_time_limit($config['mod']['rebuild_timelimit']);
|
||||
|
||||
$threads_to_rebuild = array();
|
||||
$threads_deleted = array();
|
||||
@ -1918,7 +1918,7 @@ function mod_rebuild() {
|
||||
error($config['error']['noaccess']);
|
||||
|
||||
if (isset($_POST['rebuild'])) {
|
||||
set_time_limit($config['mod']['rebuild_timelimit']);
|
||||
@set_time_limit($config['mod']['rebuild_timelimit']);
|
||||
|
||||
$log = array();
|
||||
$boards = listBoards();
|
||||
|
Loading…
Reference in New Issue
Block a user