diff options
| author | czaks <marcin@6irc.net> | 2013-09-01 11:20:57 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-02 13:41:28 +1000 |
| commit | 8a244ab61e7e45f65667a8330b5d61fe918bffb2 (patch) | |
| tree | 8e3f544a0042034e7f72ab9661b368ba5a7d4524 /inc/mod | |
| parent | af357b566133a176935eff7490f23183fb897826 (diff) | |
Fixed working on some broken shared hostings. Thanks for Belarussian anon for reporting.
Diffstat (limited to 'inc/mod')
| -rw-r--r-- | inc/mod/pages.php | 4 |
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(); |
