aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index b0d76fff4c..671f20d398 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2249,7 +2249,7 @@ function generate_text_for_display($text, $uid, $bitfield, $flags)
if (!class_exists('bbcode'))
{
global $phpbb_root_path, $phpEx;
- include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx);
+ include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
}
if (empty($bbcode))
@@ -2287,7 +2287,7 @@ function generate_text_for_storage(&$text, &$uid, &$bitfield, &$flags, $allow_bb
if (!class_exists('parse_message'))
{
- include_once($phpbb_root_path . 'includes/message_parser.' . $phpEx);
+ include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
}
$message_parser = new parse_message($text);
@@ -2419,7 +2419,7 @@ function parse_inline_attachments(&$text, &$attachments, &$update_count, $forum_
if (!function_exists('display_attachments'))
{
global $phpbb_root_path, $phpEx;
- include_once("{$phpbb_root_path}includes/functions_display.$phpEx");
+ include("{$phpbb_root_path}includes/functions_display.$phpEx");
}
$attachments = display_attachments($forum_id, NULL, $attachments, $update_count, false, true);