Always substitute INCLUDE

databind
vitalif 2011-01-12 17:29:24 +00:00 committed by Vitaliy Filippov
parent 5c2ae19b2d
commit 5324a547da
1 changed files with 2 additions and 1 deletions

View File

@ -697,7 +697,8 @@ $iset";
// если заданы маркеры подстановок (по умолчанию { ... }),
// то выражения, вычисляемые в директивах (по умолчанию <!-- ... -->),
// не подставляются в результат
if ($this->begin_subst && $this->end_subst)
if ($this->begin_subst && $this->end_subst &&
!preg_match('/^(include|process|parse)/is', $e))
return "$t;\n";
return "\$t.=$t;\n";
}