1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

Fixed working on some broken shared hostings. Thanks for Belarussian anon for reporting.

This commit is contained in:
czaks 2013-09-01 11:20:57 -04:00
parent 2804c6b775
commit c240056865

View File

@ -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();