From b780732ebab6793d8d3e31f7c78863c2c5d5a187 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 19 Jul 2002 22:18:55 +0000 Subject: [PATCH] Attempt to increase timeout while sending notifications ... need a better solution, why can't PHP multitask ... ! git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2727 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_post.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/includes/functions_post.php b/phpBB/includes/functions_post.php index 497f8ce90c..f06957bff3 100644 --- a/phpBB/includes/functions_post.php +++ b/phpBB/includes/functions_post.php @@ -634,6 +634,8 @@ function user_notification($mode, &$post_data, &$forum_id, &$topic_id, &$post_id $update_watched_sql = ''; if ( $row = $db->sql_fetchrow($result) ) { + @set_time_limit(120); + $topic_title = preg_replace($orig_word, $replacement_word, unprepare_message($row['topic_title'])); do