[pLog-svn] r6807 - plog/branches/lifetype-1.2/class/template/smarty/internals
Jon Daley
plogworld at jon.limedaley.com
Sun Feb 22 17:56:10 EST 2009
I had an odd bug today where the dynamic cache was out of sync
with the non-dynamic cache. I found one post that said you have to erase
your smarty cache when upgrading, so perhaps that was the problem, but I
am a little skeptical, since it didn't break until today.
But, clear your cache now, and let me know if you see any errors.
On Wed, 18 Feb 2009, endless enigma wrote:
> thanks for that upgrade jon
>
> regards,
> chromos
>
> On Wed, 18 Feb 2009 19:59:40 +0100, <jondaley at devel.lifetype.net> wrote:
>
>> Author: jondaley
>> Date: 2009-02-18 13:59:39 -0500 (Wed, 18 Feb 2009)
>> New Revision: 6807
>>
>> Modified:
>> plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php
>> Log:
>> documented our only change to the smarty core
>>
>> Modified:
>> plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php
>> ===================================================================
>> ---
>> plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php
>> 2009-02-18 18:59:01 UTC (rev 6806)
>> +++
>> plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php
>> 2009-02-18 18:59:39 UTC (rev 6807)
>> @@ -41,6 +41,8 @@
>> // On platforms and filesystems that cannot overwrite with rename()
>> // delete the file before renaming it -- because windows always
>> suffers
>> // this, it is short-circuited to avoid the initial rename()
>> attempt
>> +
>> + // jondaley/lifetype modification:
>> if( file_exists( $params['filename']))
>> @unlink($params['filename']);
>> @rename($_tmp_file, $params['filename']);
>> }
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>>
>
>
>
>
--
Jon Daley
http://jon.limedaley.com
~~
I hate quotations.
-- Ralph Waldo Emerson
More information about the pLog-svn
mailing list