Skip to content
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

Change touch() to file_put_contents() #31

Merged
merged 1 commit into from
Apr 18, 2017

Conversation

kieronsutton00
Copy link
Contributor

Touch will fail if PHP is not the owner (or if it does not have the correct permissions), whereas file_put_contents would be successful in these circumstances. Plus, in tests that I've seen online, it's shown that file_put_contents is faster than touch() (by up to x2 the speed).

@thelfensdrfer thelfensdrfer merged commit 4cb49e2 into VisualAppeal:master Apr 18, 2017
@thelfensdrfer
Copy link
Member

https://github.com/VisualAppeal/PHP-Auto-Update/releases/tag/0.9.6

@ttimot24
Copy link
Contributor

ttimot24 commented Apr 21, 2017

Okey I refreshed the page then I see the release, so I deleted my previous comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants