mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
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
This commit is contained in:
@@ -286,7 +286,7 @@ class Template
|
|||||||
$include_blocks = $matches[1];
|
$include_blocks = $matches[1];
|
||||||
$code = preg_replace('#<!-- INCLUDE ([a-zA-Z0-9\_\-\+\.]+?) -->#', '<!-- INCLUDE -->', $code);
|
$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];
|
$includephp_blocks = $matches[1];
|
||||||
$code = preg_replace('#<!-- INCLUDEPHP ([a-zA-Z0-9\_\-\+\.]+?) -->#', '<!-- INCLUDEPHP -->', $code);
|
$code = preg_replace('#<!-- INCLUDEPHP ([a-zA-Z0-9\_\-\+\.]+?) -->#', '<!-- INCLUDEPHP -->', $code);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user