]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/potlatch.rb
Move Potlatch configuration to a separate initialiser file.
[rails.git] / config / initializers / potlatch.rb
diff --git a/config/initializers/potlatch.rb b/config/initializers/potlatch.rb
new file mode 100644 (file)
index 0000000..8809471
--- /dev/null
@@ -0,0 +1,6 @@
+# Load presets
+POTLATCH_PRESETS = Potlatch::Potlatch.get_presets()
+
+# Use SQL (faster) or Rails (more elegant) for common Potlatch reads
+# getway speedup is approximately x2, whichways approximately x7
+POTLATCH_USE_SQL = true