Index: trunk/core/kernel/parser/tags.php =================================================================== diff -u -r1560 -r2245 --- trunk/core/kernel/parser/tags.php (.../tags.php) (revision 1560) +++ trunk/core/kernel/parser/tags.php (.../tags.php) (revision 2245) @@ -364,8 +364,10 @@ $code[] = '$processor->Prefix = $tmp[\'prefix\'];'."\n"; $code[] = '$processor->Special = $tmp[\'special\'];'."\n"; + $tag_func = $this->Tag; + if ($tag_func == 'include') $tag_func = 'MyInclude'; - $code[] = '$o .= $processor->ProcessParsedTag(\''.$this->Tag.'\', '.$to_pass.', "'.$this->Processor.'");'."\n"; + $code[] = '$o .= $processor->ProcessParsedTag(\''.$tag_func.'\', '.$to_pass.', "'.$this->Processor.'");'."\n"; /*$code = ' $processor =& $application->recallObject(\''.$this->Processor.'_TagProcessor\'); $o .= $processor->ProcessParsedTag(\''.$this->Tag.'\', unserialize(\''.serialize($this->NP).'\'));';*/