diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2004-12-19 17:59:15 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-12-19 17:59:15 +0000 |
commit | 5ac4556ef18b87a040515bc33b5863af0f2e4795 (patch) | |
tree | 90a1e105bbad824aedfeafe6a69781f86bfa8d89 /phpBB/includes/bbcode.php | |
parent | 3c6c673476a90a22c0dc1c5f99b2c47b25a1be0e (diff) | |
download | forums-5ac4556ef18b87a040515bc33b5863af0f2e4795.tar forums-5ac4556ef18b87a040515bc33b5863af0f2e4795.tar.gz forums-5ac4556ef18b87a040515bc33b5863af0f2e4795.tar.bz2 forums-5ac4556ef18b87a040515bc33b5863af0f2e4795.tar.xz forums-5ac4556ef18b87a040515bc33b5863af0f2e4795.zip |
- some fixes/changes
git-svn-id: file:///svn/phpbb/trunk@5035 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r-- | phpBB/includes/bbcode.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'; } } |