aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_template.php
diff options
context:
space:
mode:
authorMarek A. R <aptx@phpbb.com>2008-08-01 15:13:23 +0000
committerMarek A. R <aptx@phpbb.com>2008-08-01 15:13:23 +0000
commitb3e2250391a35bd884a8fc280947853172676b70 (patch)
tree2ef12ecaa852dca22a2a49209ec0f485aceaa193 /phpBB/includes/functions_template.php
parentc002c468c4f1ec1d4a142edc547fe047b7158c2d (diff)
downloadforums-b3e2250391a35bd884a8fc280947853172676b70.tar
forums-b3e2250391a35bd884a8fc280947853172676b70.tar.gz
forums-b3e2250391a35bd884a8fc280947853172676b70.tar.bz2
forums-b3e2250391a35bd884a8fc280947853172676b70.tar.xz
forums-b3e2250391a35bd884a8fc280947853172676b70.zip
Compile things like {$FOO} again.
git-svn-id: file:///svn/phpbb/trunk@8741 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_template.php')
-rw-r--r--phpBB/includes/functions_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php
index 2c82c4ecdc..1f7eeb9030 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -23,7 +23,7 @@ if (!defined('IN_PHPBB'))
*/
class template_filter extends php_user_filter
{
- private $regex = '~<!-- ([A-Z][A-Z_0-9]+)(?: (.*?) ?)?-->|{((?:[a-z][a-z_0-9]+\.)*[A-Z][A-Z_0-9]+)}~';
+ private $regex = '~<!-- ([A-Z][A-Z_0-9]+)(?: (.*?) ?)?-->|{((?:[a-z][a-z_0-9]+\.)*\\$?[A-Z][A-Z_0-9]+)}~';
private $blocks = array();
private $block_names = array();