Move Potlatch configuration to a separate initialiser file.
This commit is contained in:
parent
0283bd4f1a
commit
49637fed70
2 changed files with 6 additions and 7 deletions
6
config/initializers/potlatch.rb
Normal file
6
config/initializers/potlatch.rb
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue