From 5ac4556ef18b87a040515bc33b5863af0f2e4795 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 19 Dec 2004 17:59:15 +0000 Subject: - some fixes/changes git-svn-id: file:///svn/phpbb/trunk@5035 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/bbcode.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/bbcode.php') diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index e0b22fd140..2ed8b00e0e 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -45,6 +45,7 @@ class bbcode if ($bbcode_bitfield !== false) { $this->bbcode_bitfield = $bbcode_bitfield; + // Init those added with a new bbcode_bitfield (already stored codes will not get parsed again) $this->bbcode_cache_init(); } @@ -112,7 +113,7 @@ class bbcode if ($this->bbcode_bitfield & $user->theme['primary']['bbcode_bitfield']) { - $style = (file_exists($phpbb_root_path . 'styles/templates/' . $user->theme['primary']['template_path'] . '/bbcode.html')) ? 'primary' : 'secondary'; + $style = (file_exists($phpbb_root_path . 'styles/' . $user->theme['primary']['template_path'] . '/template/bbcode.html')) ? 'primary' : 'secondary'; } } -- cgit v1.2.1