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