Permalink
Please sign in to comment.
Browse files
tentative support for using cached database.xml when source is offline
Rearranged the code a bit so that the local database.xml file (if any) is not nuked when trying to download a new one. Changes look promising, but not ready to merge yet for a few reasons: - Since Quaddicted is offline, I can't easily test the "download success" case to make sure that it still works. There are ways around that which I can do if necessary (i.e. host a database.xml file on some other webserver). - I don't have a complete current database.xml file to test as the local/cached version. I've been using a truncated database.xml that I manually repaired. - Currently the code will just silently revert to using the cached copy if the download fails. It would be nice to pop a warning to tell the user that this is going on. Ideally someone else can help me with the best way to do that. :-)
- Loading branch information...
Showing
with
61 additions
and 27 deletions.
0 comments on commit
c2fcb07