Re: Re: Compiled Flexy templates being recompiled on each request
| From: | Dan Rossi | Date: | Tue, 07 Jun 2005 04:57:30 +0000 |
| Subject: | Re: Re: Compiled Flexy templates being recompiled on each request | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19497@lists.php.net to get a copy of this message | ||
On 07/06/2005, at 1:49 PM, Alan Knowles wrote:
I'm not sure if the use of relative paths for templateDir and compileDir is causing problems.. - can you try using dirname(__FILE__).'/templates' or similar to see if that helps?Here is a Var_Dump from the object object(HTML_Template_Flexy)#83 (6) { ["options"]=> array(24) {
["compileDir"]=>
string(29) "/www/faults/templates/compile"
["templateDir"]=>
array(1) {
[0]=>
string(21) "/www/faults/templates"
}
["multiSource"]=>
bool(false)
["templateDirOrder"]=>
string(0) ""
["debug"]=>
string(1) "0"
["compiler"]=>
string(5) "Flexy"
["forceCompile"]=>
string(1) "0"
["filters"]=>
array(0) {
}
["nonHTML"]=>
&nb.