Re: Smarty File Lock Problem in Windows
| From: | Monte Ohrt | Date: | Thu, 01 Mar 2001 17:55:01 +0000 |
| Subject: | Re: Smarty File Lock Problem in Windows | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-260@lists.php.net to get a copy of this message | ||
Doh! That explains a problem someone else was having earlier. We'll have
to figure out a workaround.
Jim Harlindong wrote:
>
> The following line should be commented in Windows inside _write_file()
>
> // flock($fd, LOCK_EX);
>
> Without doing so will cause smarty to fail writing to file, resulting in 0
> sized compiled files. Took me 40 minutes to figure this out :)
>
> Regards,
> Jimmy
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/