Smarty File Lock Problem in Windows
| From: | Jim Harlindong | Date: | Thu, 01 Mar 2001 17:45:29 +0000 |
| Subject: | Smarty File Lock Problem in Windows | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-258@lists.php.net to get a copy of this message | ||
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