Re: Re: Compiled Flexy templates being recompiled on each request

From: Date: Tue, 07 Jun 2005 03:49:12 +0000
Subject: Re: Re: Compiled Flexy templates being recompiled on each request
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19495@lists.php.net to get a copy of this message
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? Regards Alan On Tue, 2005-06-07 at 13:36 +1000, Dan Rossi wrote: > > > ______________________________________________________________________ > > > On 06/06/2005, at 1:22 AM, Alan Knowles wrote: > > Check config - this should not happen.. > > Regards > Alan > On Wed, 2005-06-01 at 15:16 +1000, Dan Rossi wrote: > For some strange reason, the flexy compiled templates > are being > recompiled on each request, is it suppose to be doing > this ? > > > > Here is my config settings > > array(8) { ["templateDir"]=> string(11) "./templates" > ["compileDir"]=> > string(19) "./templates/compile" ["forceCompile"]=> string(1) > "0" ["debug"]=> string(1) "0" ["globals"]=> > string(4) > "true" ["privates"]=> string(4) "true" > ["locale"]=> string(2) > "en" ["compiler"]=> string(5) "Flexy" } > > As you can see the value is a string, because its loaded from xml > however I took that setting out, array_merged with a seperate array > with a int value of 0 still no effect, the compiled template is being > overwritten all the time ??

« previous php.pear.general (#19495) next »