mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 21:10:31 +02:00
- some cross-db related changes
- putting active bots array into cache git-svn-id: file:///svn/phpbb/trunk@5140 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1492,9 +1492,9 @@ function remove_comments(&$output)
|
||||
$linecount = sizeof($lines);
|
||||
|
||||
$in_comment = false;
|
||||
for($i = 0; $i < $linecount; $i++)
|
||||
for ($i = 0; $i < $linecount; $i++)
|
||||
{
|
||||
if (preg_match('#^\/\*#', preg_quote($lines[$i])))
|
||||
if (trim($lines[$i]) == '/*')
|
||||
{
|
||||
$in_comment = true;
|
||||
}
|
||||
@@ -1504,7 +1504,7 @@ function remove_comments(&$output)
|
||||
$output .= $lines[$i] . "\n";
|
||||
}
|
||||
|
||||
if (preg_match('#\*\/$#', preg_quote($lines[$i])))
|
||||
if (trim($lines[$i]) == '*/')
|
||||
{
|
||||
$in_comment = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user