Fix path to the session data

This commit is contained in:
Eelco Dolstra 2012-04-17 22:25:32 +02:00
parent 51b920c875
commit f8c914297f

View file

@ -22,9 +22,6 @@ our $VERSION = '0.01';
__PACKAGE__->config( __PACKAGE__->config(
name => 'Hydra', name => 'Hydra',
default_view => "TT", default_view => "TT",
session => {
storage => Hydra::Model::DB::getHydraPath . "/session_data"
},
authentication => { authentication => {
default_realm => "dbic", default_realm => "dbic",
realms => { realms => {
@ -49,6 +46,7 @@ __PACKAGE__->config(
}, },
'Plugin::Session' => { 'Plugin::Session' => {
expires => 3600 * 24 * 2, expires => 3600 * 24 * 2,
storage => Hydra::Model::DB::getHydraPath . "/session_data"
}, },
); );