Comos / tage

Tage, the PHP template engine. Developing...
GNU General Public License v3.0
4 stars 2 forks source link

Sub template need share parent renderVars #20

Open 13leaf opened 9 years ago

13leaf commented 9 years ago

Include tag will compile to $this->__c->t($path)

I notice the t method can not auto merge parent renderVars.

We need to do something fix it.

bigbigant commented 9 years ago

Parent render vars? For example ...

13leaf commented 9 years ago

Look at the milestone include.test. Try remove the with data and see what will happen.