aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-04-26 01:35:12 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-04-26 01:35:12 +0000
commit8df413cafc499721917d732874450066810ac95c (patch)
tree15fbda30fe5d5b0eb57f0022f7a4e3d5a8287b53 /phpBB/includes
parent5362625eabd86278d9f7cbc7175e02e3b5f613ca (diff)
downloadforums-8df413cafc499721917d732874450066810ac95c.tar
forums-8df413cafc499721917d732874450066810ac95c.tar.gz
forums-8df413cafc499721917d732874450066810ac95c.tar.bz2
forums-8df413cafc499721917d732874450066810ac95c.tar.xz
forums-8df413cafc499721917d732874450066810ac95c.zip
I believe the original intent was to put the backslash in the character class, this should make it work
git-svn-id: file:///svn/phpbb/trunk@3954 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index 899f727333..bcdb2e00f7 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -286,7 +286,7 @@ class Template
$include_blocks = $matches[1];
$code = preg_replace('#<!-- INCLUDE ([a-zA-Z0-9\_\-\+\.]+?) -->#', '<!-- INCLUDE -->', $code);
- preg_match_all('#<!-- INCLUDEPHP ([a-zA-Z0-9\_\-\+\.\\]+?) -->#', $code, $matches);
+ preg_match_all('#<!-- INCLUDEPHP ([a-zA-Z0-9\_\-\+\.\\\\]+?) -->#', $code, $matches);
$includephp_blocks = $matches[1];
$code = preg_replace('#<!-- INCLUDEPHP ([a-zA-Z0-9\_\-\+\.]+?) -->#', '<!-- INCLUDEPHP -->', $code);