mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
more efficient + fixing an oops
git-svn-id: file:///svn/phpbb/trunk@6303 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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'
|
||||
);
|
||||
|
Reference in New Issue
Block a user