diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-04 16:09:56 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-04 16:09:56 +0100 |
commit | e889a1060c8723f2f4339cda8de03ee0de786bae (patch) | |
tree | ebb6ea4940640233778391d667e0e940233b0653 | |
parent | 786fcc4f1cce2dfae8a7c1b3a8c88818af762712 (diff) | |
download | zorglub-e889a1060c8723f2f4339cda8de03ee0de786bae.zip zorglub-e889a1060c8723f2f4339cda8de03ee0de786bae.tar.gz |
Config: add session options
-rw-r--r-- | lib/zorglub/config.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/zorglub/config.rb b/lib/zorglub/config.rb index e4804fd..d38e7fc 100644 --- a/lib/zorglub/config.rb +++ b/lib/zorglub/config.rb @@ -9,7 +9,11 @@ module Zorglub :layout => 'default', :view_dir => 'view', :layout_dir => 'layout', - :session_on => false + :session_on => false, + :session_key => 'zorglub.sid', + :session_secret => 'session-secret-secret', + :session_sid_len => 64 + # } @engines = { } class << self |