Lines 53-59
will be created.
Link Here
|
53 |
sub _get_session_params { |
53 |
sub _get_session_params { |
54 |
my ( $class, $args ) = @_; |
54 |
my ( $class, $args ) = @_; |
55 |
my $storage_method = $args->{storage_method}; |
55 |
my $storage_method = $args->{storage_method}; |
56 |
$storage_method ||= C4::Context->preference('SessionStorage'); |
56 |
$storage_method ||= C4::Context->preference('SessionStorage') || 'file'; |
57 |
if ( $storage_method eq 'mysql' ) { |
57 |
if ( $storage_method eq 'mysql' ) { |
58 |
my $dbh = C4::Context->dbh; |
58 |
my $dbh = C4::Context->dbh; |
59 |
return { dsn => "serializer:yamlxs;driver:MySQL;id:md5", dsn_args => { Handle => $dbh } }; |
59 |
return { dsn => "serializer:yamlxs;driver:MySQL;id:md5", dsn_args => { Handle => $dbh } }; |
60 |
- |
|
|