aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_template.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-20 14:49:38 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-20 14:49:38 +0000
commitbadcfdd1ed4a8a560964c76012cec71070f9dd49 (patch)
treecfc8daf26182d17e21ed5d74a7d63d07b6cc52cd /phpBB/includes/functions_template.php
parent08a223c4d6979a02732edd0af892f36cb538499a (diff)
downloadforums-badcfdd1ed4a8a560964c76012cec71070f9dd49.tar
forums-badcfdd1ed4a8a560964c76012cec71070f9dd49.tar.gz
forums-badcfdd1ed4a8a560964c76012cec71070f9dd49.tar.bz2
forums-badcfdd1ed4a8a560964c76012cec71070f9dd49.tar.xz
forums-badcfdd1ed4a8a560964c76012cec71070f9dd49.zip
character class... character class... character class...
git-svn-id: file:///svn/phpbb/trunk@5947 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_template.php')
-rw-r--r--phpBB/includes/functions_template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php
index 336e86d24c..a497f0a94a 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -104,8 +104,8 @@ class template_compile
$includephp_blocks = $matches[1];
$code = preg_replace('#<!-- INCLUDEPHP ([a-zA-Z0-9\_\-\+\./]+?) -->#', '<!-- INCLUDEPHP -->', $code);
- preg_match_all('#<!-- ([^<!--].*?) (.*?)?[ ]?-->#', $code, $blocks);
- $text_blocks = preg_split('#<!-- ([^<!--].*?) (.*?)?[ ]?-->#', $code);
+ preg_match_all('#<!-- ([^<].*?) (.*?)?[ ]?-->#', $code, $blocks);
+ $text_blocks = preg_split('#<!-- ([^<].*?) (.*?)?[ ]?-->#', $code);
for ($i = 0, $j = sizeof($text_blocks); $i < $j; $i++)
{