From 8a244ab61e7e45f65667a8330b5d61fe918bffb2 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 1 Sep 2013 11:20:57 -0400 Subject: [PATCH] Fixed working on some broken shared hostings. Thanks for Belarussian anon for reporting. --- inc/mod/pages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 2997ba6b..99bfcf9d 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -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();