Allow the root directory for data for file columns to be configured

This commit is contained in:
Tom Hughes 2010-08-05 00:14:58 +01:00
parent f660d1e7e3
commit 37795719e8
2 changed files with 5 additions and 0 deletions

View file

@ -51,6 +51,8 @@ standard_settings: &standard_settings
# Location of GPX traces and images
gpx_trace_dir: "/home/osm/traces"
gpx_image_dir: "/home/osm/images"
# Location of data for file columns
#file_column_root: ""
development:
<<: *standard_settings

View file

@ -0,0 +1,3 @@
if defined?(FILE_COLUMN_ROOT)
FileColumn::ClassMethods::DEFAULT_OPTIONS[:root_path] = FILE_COLUMN_ROOT
end