diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index f52e640b07..5aed052fa6 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -788,7 +788,7 @@ function obtain_word_list(&$orig_word, &$replacement_word) // function username_search($search_match, $is_inline_review = 0, $default_list = "") { - global $db, $board_config, $template, $lang, $images, $theme, $phpEx; + global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $starttime; $author_list = ''; @@ -1086,4 +1086,4 @@ function phpbb_preg_quote($str, $delimiter) return $text; } -?> \ No newline at end of file +?> diff --git a/phpBB/includes/post.php b/phpBB/includes/post.php index b0f9b91a61..3b2e102cd6 100644 --- a/phpBB/includes/post.php +++ b/phpBB/includes/post.php @@ -103,7 +103,7 @@ function prepare_message($message, $html_on, $bbcode_on, $smile_on, $bbcode_uid // function generate_smilies($mode, $page_id) { - global $db, $board_config, $template, $lang, $images, $theme, $phpEx; + global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $user_ip, $session_length, $starttime; global $userdata; @@ -204,4 +204,4 @@ function generate_smilies($mode, $page_id) } } -?> \ No newline at end of file +?>