diff --git a/src/lib/Hydra.pm b/src/lib/Hydra.pm index 213cea21..70999ebe 100644 --- a/src/lib/Hydra.pm +++ b/src/lib/Hydra.pm @@ -55,7 +55,7 @@ __PACKAGE__->config( }, 'Plugin::Session' => { expires => 3600 * 24 * 7, - storage => Hydra::Model::DB::getHydraPath . "/session_data", + storage => ($ENV{'HYDRA_SERVER_DATA'} // Hydra::Model::DB::getHydraPath) . "/session_data", unlink_on_exit => 0 }, 'Plugin::AccessLog' => {