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

Fixed the situation where the current local ini is newer than the distributed one + performance increase #71

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

josja
Copy link

@josja josja commented Oct 21, 2014

When checking for updated ini, the current version touches local ini's that are newer than the remote ini, making it even newer, fixed this never ending condition where update doesn't seem to be needed due to local being newer. In this fork the local ini will get stale eventually. (I pull projects from remote repo's and some of them have an old browscap.ini inside but get the current date as creation date).

Also the cache doesn't have to be rewritten always when checking for update. fixed in this fork.

…lso fixed performance hit when checking for update
…lso fixed performance hit when checking for update
Conflicts:
	src/phpbrowscap/Browscap.php
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.

1 participant