aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-04-24 01:35:09 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-04-24 01:35:09 -0400
commitdfbbc4797ea9908db727e5fc51d06bd55cd0c472 (patch)
treed4e8133ba70c7622706fa91649d28a13ca966e76 /phpBB/includes/acp
parent513b95642eab7f8092d651a21045dc4bb1556148 (diff)
downloadforums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.tar
forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.tar.gz
forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.tar.bz2
forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.tar.xz
forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.zip
[ticket/10148] Turn TEMPLATE_BITFIELD into an instance variable.
PHPBB3-10148
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_styles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index 6a0d4c4c98..e32a4d2310 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -45,7 +45,7 @@ class acp_styles
$bitfield->set(9);
$bitfield->set(11);
$bitfield->set(12);
- define('TEMPLATE_BITFIELD', $bitfield->get_base64());
+ $this->template_bitfield = $bitfield->get_base64();
unset($bitfield);
$user->add_lang('acp/styles');
@@ -3496,7 +3496,7 @@ parse_css_file = {PARSE_CSS_FILE}
}
else
{
- $sql_ary['bbcode_bitfield'] = TEMPLATE_BITFIELD;
+ $sql_ary['bbcode_bitfield'] = $this->template_bitfield;
}
// We set a pre-defined bitfield here which we may use further in 3.2