Opened 13 years ago
Closed 13 years ago
#6405 closed defect (fixed)
[patch] wms cache accepting absolute filenames
Reported by: | bilbo | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
I found that key controlling cache path have changed (now it is imagery.wms-cache.path for WMS), so I set it to the path I used previously. But in the code it is hardcoded to always create the cache directory under JOSM preferences directory (so when for example "/tmp/cache" is given, cache is created in "~/.josm/tmp/cache" instead of "/tmp/cache").
Attached patch fixes this - when absolute file path is specified, cache is created in that path correctly instead of always prefending preferences directory.
Attachments (2)
Change History (3)
by , 13 years ago
Attachment: | cachedir.patch added |
---|
by , 13 years ago
Attachment: | cachedir.2.patch added |
---|
patch to allow absolute cache path, fixed version
patch to allow absolute cache path