mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-12 18:34:22 +01:00
Sessions are now stored in the database rather than files in tracks/tmp. tracks/tmp.tmpl is no longer needed. This prevents the file system from becoming littered with file, and should help performance.
You need to run rake migrate to get your database up to schema version 7 to add the necessary session table to your database. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@183 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
e50389788b
commit
62087003f1
5 changed files with 27 additions and 3 deletions
|
|
@ -18,4 +18,4 @@ config.action_mailer.raise_delivery_errors = false
|
|||
|
||||
# Unique cookies
|
||||
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = "TrackDev"
|
||||
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:tmpdir] = "#{RAILS_ROOT}/tmp"
|
||||
# ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:tmpdir] = "#{RAILS_ROOT}/tmp"
|
||||
Loading…
Add table
Add a link
Reference in a new issue