From c2400568656e6bb8e629704d312322937d24fb2d 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 eeea98d6..31f1960d 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -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();