summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-09-01 11:20:57 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-02 13:41:28 +1000
commit8a244ab61e7e45f65667a8330b5d61fe918bffb2 (patch)
tree8e3f544a0042034e7f72ab9661b368ba5a7d4524
parentaf357b566133a176935eff7490f23183fb897826 (diff)
Fixed working on some broken shared hostings. Thanks for Belarussian anon for reporting.
-rw-r--r--inc/mod/pages.php4
1 files 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();