Browse Source

Fixed working on some broken shared hostings. Thanks for Belarussian anon for reporting.

pull/40/head
czaks 11 years ago
committed by Michael Foster
parent
commit
8a244ab61e
  1. 4
      inc/mod/pages.php

4
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();

Loading…
Cancel
Save