diff options
| author | czaks <marcin@6irc.net> | 2013-09-01 11:20:57 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-09-01 11:20:57 -0400 |
| commit | c2400568656e6bb8e629704d312322937d24fb2d (patch) | |
| tree | 9d95f55284e42e935dfc0d2dc1d50456a3f3f23c /inc/mod | |
| parent | 2804c6b775b07b5417d95b160674570600ff047f (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 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(); |
