]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
rails_port_0.5: Merge rails_port r4643
[rails.git] / config / environment.rb
index 3820ed29406f69a1b84808af0ef0dfa9c6e5244a..0d98c70bdd409fa07346ef78c793c37584fdea79 100644 (file)
@@ -77,8 +77,9 @@ end
 #   inflect.uncountable %w( fish sheep )
 # end
 
-# Set to true to put the API in read-only mode
-API_READONLY = false
+# Set to :readonly to put the API in read-only mode or :offline to
+# take it completely offline
+API_STATUS = :online
 
 # Include your application configuration below
 SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org'