aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-08-10 12:42:24 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-08-10 12:42:24 +0100
commit6f6fc8b2d15b253bd455661a38d41ece11a547c0 (patch)
tree77bddd693a6de069e67c9a8eabad7b78931067ae /conf
parente5d85c495f28be97b8f94487dee26646dcd13ebb (diff)
Make UPLOAD_DIR/GEO_CACHE relative to project root
If they are absolute already, do nothing. Switch a couple of uses to Path::Tiny as well.
Diffstat (limited to 'conf')
-rw-r--r--conf/general.yml-example1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example
index 4c89cfba2..54bbd6a7f 100644
--- a/conf/general.yml-example
+++ b/conf/general.yml-example
@@ -61,6 +61,7 @@ LANGUAGES:
TIME_ZONE: ""
# File locations for uploaded photos and cached geocoding results.
+# Absolute paths, or relative to the project's root directory
UPLOAD_DIR: '../upload/'
GEO_CACHE: '../cache/'