Details
-
Improvement
-
Resolution: Duplicate
-
Medium
-
None
-
4.1.3
-
None
Description
It would be a great way to sneak in cool stuff like:
'extend the ezimage operator to add support for custom vhosts (recommended eg. by yslow for the best user-experience" without having to recode the complete site replacing ezimage() calls with ezextimage()'
How to do it:
- add a new ini setting: template operator -> php class (eg. in template.ini)
- declare deprecated (but not remove support yet for) eztemplateautoload.php file
- when loading the list of registered tpl operators, load eztemplateautoload 1st and the new ini settings 2nd (the 2nd one taking precedence)
- remove existing eztemplateautoload.php from kernel/commonf and move it to std ini settings