Project

General

Profile

Patch #3968 » 03_session_path.patch

Tom Imrei, 2009-12-06 20:01

View differences:

redmine-0.9.0~svn2903.new/lib/tasks/initializers.rake 2009-10-04 23:40:41.963650176 +0200
17 17
# you'll be exposed to dictionary attacks.
18 18
ActionController::Base.session = {
19 19
  :session_key => '_redmine_session',
20
  :session_path => ENV['RAILS_RELATIVE_URL_ROOT'].empty? ? '/' : ENV['RAILS_RELATIVE_URL_ROOT'],
20 21
  :secret => '#{secret}'
21 22
}
22 23
EOF
(2-2/3)