add_session_config_options_stubs-r1729.patch

Mischa The Evil, 2008-08-11 03:56

Download (2.2 KB)

View differences:

branches/0.7-stable/config/environment.rb (working copy)
35 35
  # config.action_controller.session_store = :active_record_store
36 36
  config.action_controller.session_store = :PStore
37 37

  
38
  ## When multiple RoR-apps are running under one domain using different sub-rui's
39
  ## make sure you set either session_path (preferred) or session_key to prevent session-mangling
40
  #
41
  # Modify the following line to make the sessions path-specific instead of domain-specific
42
  # config.action_controller.session =  { :session_path => '/suburi' }
43
  #
44
  # Modify the following line to prefix the sessions with a application-specific key
45
  # config.action_controller.session =  { :session_key => 'redmine' }
46
  ##
47

  
38 48
  # Enable page/fragment caching by setting a file-based store
39 49
  # (remember to create the caching directory and make it readable to the application)
40 50
  # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
trunk/config/environment.rb (working copy)
35 35
  # config.action_controller.session_store = :active_record_store
36 36
  config.action_controller.session_store = :PStore
37 37

  
38
  ## When multiple RoR-apps are running under one domain using different sub-rui's
39
  ## make sure you set either session_path (preferred) or session_key to prevent session-mangling
40
  #
41
  # Modify the following line to make the sessions path-specific instead of domain-specific
42
  # config.action_controller.session =  { :session_path => '/suburi' }
43
  #
44
  # Modify the following line to prefix the sessions with a application-specific key
45
  # config.action_controller.session =  { :session_key => 'redmine' }
46
  ##
47

  
38 48
  # Enable page/fragment caching by setting a file-based store
39 49
  # (remember to create the caching directory and make it readable to the application)
40 50
  # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"