summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-04 16:09:56 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-04 16:09:56 +0100
commite889a1060c8723f2f4339cda8de03ee0de786bae (patch)
treeebb6ea4940640233778391d667e0e940233b0653
parent786fcc4f1cce2dfae8a7c1b3a8c88818af762712 (diff)
downloadzorglub-e889a1060c8723f2f4339cda8de03ee0de786bae.zip
zorglub-e889a1060c8723f2f4339cda8de03ee0de786bae.tar.gz
Config: add session options
-rw-r--r--lib/zorglub/config.rb6
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