mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
more efficient + fixing an oops
git-svn-id: file:///svn/phpbb/trunk@6303 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f39eeda225
commit
7c59533950
1 changed files with 1 additions and 2 deletions
|
@ -105,8 +105,7 @@ class template_compile
|
|||
{
|
||||
// This matches the information gathered from the internal PHP lexer
|
||||
$match = array(
|
||||
'#<\?.*?\?>#s',
|
||||
'#<[%?]=.*?\?>#s',
|
||||
'#<([\?%])=?.*?\1>#s',
|
||||
'#<script\s+language\s*=\s*(["\']?)php\1\s*>.*?</script\s*>#s',
|
||||
'#<\?php(?:\r\n?|[ \n\t]).*?\?>#s'
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue