Re: [SMARTY] current CVS version can't update recompiled template
| From: | Monte Ohrt | Date: | Mon, 24 Feb 2003 23:24:58 +0000 |
| Subject: | Re: [SMARTY] current CVS version can't update recompiled template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8160@lists.php.net to get a copy of this message | ||
Hmm, this must be a Windows problem, as it works in Unix. :( so I wonder
if unlinking then renaming will introduce a race condition. Maybe test
if the system is win32, then unlink first? Ideas?
Monte
On Mon, 2003-02-24 at 17:13, Boštjan Žokš wrote:
> Actually it can't replace old compiled template with new one. Same for
> cached templates.
>
> Warning:
> rename(var/templates_c/\%%117\%%1172603085/3e5aa6541d12f,var/templates_c
> /\%%117\%%1172603085\index.tpl.php) [function.rename]: File exists in
> c:\.....\Smarty.class.php on line 2063
>
> Using current CVS version (Smarty 1.358, Smarty_compiler 1.182) on
> win32.
>
> Regards,
> Bostjan
>
--
Monte Ohrt <monte@ispi.net>