- config.action_controller.session_store = :sql_session_store
-
- # We will use the old style of migrations, rather than the newer
- # timestamped migrations that were introduced with Rails 2.1, as
- # it will be confusing to have the numbered and timestamped migrations
- # together in the same folder.
- config.active_record.timestamped_migrations = false
+ unless OSM_STATUS == :database_offline or OSM_STATUS == :database_readonly
+ config.action_controller.session_store = :sql_session_store
+ end