XIPE problem!
| From: | Florian Habegger | Date: | Sat, 23 Aug 2003 12:18:56 +0000 |
| Subject: | XIPE problem! | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7371@lists.php.net to get a copy of this message | ||
Hi folks!
anybody know, how I can correctly configure my XIPE Template?
I've got in my project folder two directories:
/usr/wwwhome/.default/templates <- for the originals templates
/usr/wwwhome/.default/templates_compiled <- for the compiled templates
I configure my template object like this:
------------------------------------------------------------------------------------------------
$template_options = array(
'templateDir' => dirname('/usr/wwwhome/.default/templates'),
'autoBrances' => true,
'compileDir' => '/usr/wwwhome/.default/templates_compiled',
'forceCompile' => 0,
'debug' => 0, 'locale' => 'de', 'compiler' => 'Standard');$tpl = new HTML_Template_Xipe($template_options); ------------------------------------------------------------------------------------------------ But it doesen't work fine :-( If I run a script with this options the template will be generated but without the content of the original template. have anybody an idea how I define correctly the "template_dir" ? ? ? thx a lot! flow