-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unlink problem while cleaning up the Smarty cache #24
Comments
In the early days of Smarty 3 tests showed bad performance of code like this So '@' error suppression was chosen for performance reason and also deal with some rare race condition between concurrent PHP processes. New tests showed that now is_file() is much faster. dev-master is now updated to use is_file() checks but '@' error suppression is left to deal with the rare race conditions. This change will be included in the soon upcoming 3.1.22 release. |
- improvement use is_file() checks to avoid errors suppressed by @ which could still cause problems (smarty-php/smarty#24)
Thanks a lot! 👍 :-) |
- improvement use is_file() checks to avoid errors suppressed by @ which could still cause problems (#24)
…eb-reservation-work-even-for-kirei-or-multi-kanzashi-account Ticket #5140 make web reservation work even for kirei or multi kanzashi account
We're experiencing E_WARNINGS with your unlink operation in smarty_internal_write_file.php:58 on PHP 5.6.3 on Windows, since it is not checking if the file exists.
An is_file wrapper may fixes this:
Full Stack trace:
The text was updated successfully, but these errors were encountered: