[Catalyst-commits] r11585 -
trunk/Catalyst-Plugin-Session-Store-DBI/lib/Catalyst/Plugin/Session/Store
autarch at dev.catalyst.perl.org
autarch at dev.catalyst.perl.org
Fri Oct 16 19:36:41 GMT 2009
Author: autarch
Date: 2009-10-16 19:36:41 +0000 (Fri, 16 Oct 2009)
New Revision: 11585
Modified:
trunk/Catalyst-Plugin-Session-Store-DBI/lib/Catalyst/Plugin/Session/Store/DBI.pm
Log:
Fix docs to reflect new config key.
Modified: trunk/Catalyst-Plugin-Session-Store-DBI/lib/Catalyst/Plugin/Session/Store/DBI.pm
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-DBI/lib/Catalyst/Plugin/Session/Store/DBI.pm 2009-10-16 19:34:53 UTC (rev 11584)
+++ trunk/Catalyst-Plugin-Session-Store-DBI/lib/Catalyst/Plugin/Session/Store/DBI.pm 2009-10-16 19:36:41 UTC (rev 11585)
@@ -332,7 +332,7 @@
use Catalyst qw/Session Session::Store::DBI Session::State::Cookie/;
# Connect directly to the database
- MyApp->config->{session} = {
+ MyApp->config->{'Plugin::Session'} = {
expires => 3600,
dbi_dsn => 'dbi:mysql:database',
dbi_user => 'foo',
@@ -341,7 +341,7 @@
};
# Or use an existing database handle from a DBIC/CDBI class
- MyApp->config->{session} = {
+ MyApp->config->{'Plugin::Session'} = {
expires => 3600,
dbi_dbh => 'DBIC', # which means MyApp::Model::DBIC
dbi_table => 'sessions',
@@ -356,7 +356,7 @@
=head1 CONFIGURATION
-These parameters are placed in the configuration hash under the C<session>
+These parameters are placed in the configuration hash under the C<Plugin::Session>
key.
=head2 expires
More information about the Catalyst-commits
mailing list