A big issue here is that the entire _tpl_eval path appears to be busted. Forcing it to be taken in template#display breaks tests.
If anyone feels like taking a stab at it please go ahead.
A big issue here is that the entire _tpl_eval path appears to be busted. Forcing it to be taken in template#display breaks tests.


(15:52:28) nickvergessen: well nn-, you have 4 template_* files
(15:52:38) nickvergessen: i think this is enough for a new folder
(15:53:45) nickvergessen: we already have tones of files in includes/
(15:53:59) nn-: if you feel strongly about it i'll move them
(15:54:00) nickvergessen: and most users will never need to touch the template engine
(15:54:09) nickvergessen: so I really think we can "hide" them in a folder


nn- wrote:This broke everything because the template engine expects $this to have template variables, which in the executor/renderer is not the case. Therefore I will be adding a "context" class which will store variables used during template evaluation.


nn- wrote:Something that was discussed on IRC:
php file inclusion will be performed relative to "php include root" which will be a parameter passed to template class. This will be set to phpbb_root in normal use and test directory in tests.

Return to [3.1/Ascraeus] Merged RFCs
Users browsing this forum: No registered users and 6 guests