mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
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)
|
||||
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();
|
||||
@ -1813,7 +1813,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