Hi:

I just picked up PHPTal as my template system last week, i thought i have found
a bug.

In PHPTal.php file,

function executeMacro($path);

after line $tpl = new PHPTAL($file);
we should add : $tpl->setPhpCodeDestination($this->getPhpCodeDestination());

otherwise current Code Destination will not inherent by new template object.

regards.

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to