Changeset 109

Show
Ignore:
Timestamp:
10/20/08 13:28:51 (5 years ago)
Author:
samuraraujo
Message:
 
Location:
Explorator/trunk/config/environments
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • Explorator/trunk/config/environments/development.rb

    r22 r109  
    1717# Don't care if the mailer can't send 
    1818config.action_mailer.raise_delivery_errors = false 
     19 
     20#session configuration 
     21config.action_controller.session_store = :memory_store 
     22  # Your secret key for verifying cookie session data integrity. 
     23  # If you change this key, all old sessions will become invalid! 
     24  # Make sure the secret is at least 30 characters and all random,  
     25  # no regular words or you'll be exposed to dictionary attacks. 
     26  config.action_controller.session = { 
     27    :session_key => '_explorator_session', 
     28    :secret      => '09856b552d3027ee2067086ba8b66703908eea0d2afad9c84a5c67a967357741f056b4ae78e00d04c2a8e46c4ad05d428027d95950cfb1968a0051b0c54d9cc6' 
     29  } 
     30 
     31  
     32   
     33 
     34 
     35  
  • Explorator/trunk/config/environments/production.rb

    r22 r109  
    1818# Disable delivery errors, bad email addresses will be ignored 
    1919# config.action_mailer.raise_delivery_errors = false 
     20 
     21#session configuration 
     22config.action_controller.session_store = :memory_store 
     23  # Your secret key for verifying cookie session data integrity. 
     24  # If you change this key, all old sessions will become invalid! 
     25  # Make sure the secret is at least 30 characters and all random,  
     26  # no regular words or you'll be exposed to dictionary attacks. 
     27  config.action_controller.session = { 
     28    :session_key => '_explorator_session', 
     29    :secret      => '09856b552d3027ee2067086ba8b66703908eea0d2afad9c84a5c67a967357741f056b4ae78e00d04c2a8e46c4ad05d428027d95950cfb1968a0051b0c54d9cc6' 
     30  } 
     31 
     32  
     33   
  • Explorator/trunk/config/environments/test.rb

    r22 r109  
    2121# ActionMailer::Base.deliveries array. 
    2222config.action_mailer.delivery_method = :test 
     23 
     24#session configuration 
     25config.action_controller.session_store = :memory_store 
     26  # Your secret key for verifying cookie session data integrity. 
     27  # If you change this key, all old sessions will become invalid! 
     28  # Make sure the secret is at least 30 characters and all random,  
     29  # no regular words or you'll be exposed to dictionary attacks. 
     30  config.action_controller.session = { 
     31    :session_key => '_explorator_session', 
     32    :secret      => '09856b552d3027ee2067086ba8b66703908eea0d2afad9c84a5c67a967357741f056b4ae78e00d04c2a8e46c4ad05d428027d95950cfb1968a0051b0c54d9cc6' 
     33  } 
     34 
     35  
     36