Home » HTML » HTML_Template_Flexy » Bug #1753
SmartyConvertor compiler doesn't work
Details
| Submitted | 2004-06-30 16:18 UTC |
|---|---|
| From | sou_sk at nifty dot com |
| Assigned | alan_k |
| Status | Closed |
| Package | HTML_Template_Flexy |
| PHP Version | 4.3.4 |
| OS | WindowsXP |
| Roadmaps | (Not assigned) |
Comments
[2004-06-30 16:18 UTC] sou_sk at nifty dot com
Description:
------------
Script returns following error when SmartyConvertor is set as its compiler.
> Use of undefined constant HTML_Template_Flexy_Compiler_Standard - assumed 'HTML_Template_Flexy_Compiler_Standard'
There seems to be typo in line 95 of SmartyConvertor.php
Reproduce code:
---------------
require_once('HTML/Template/Flexy.php');
$renderer = new HTML_Template_Flexy(array('compiler'=>'SmartyConvertor','templateDir'=>'your template dir'));
$renderer->compile('template.tpl.html');
Actual result:
--------------
[SmartyConvertor.php:95] Use of undefined constant HTML_Template_Flexy_Compiler_Standard - assumed 'HTML_Template_Flexy_Compiler_Standard'