]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Config.pm
DFV model tested and working, new additional method in Maypole::Config, new warn...
[maypole.git] / lib / Maypole / Config.pm
index a2660d78c9f999176ecb667f3b610da19ac83aec..2cf65daba17eca9111aa0e7ff1cdd0e515ab11bf 100644 (file)
@@ -11,7 +11,7 @@ our $VERSION = "1." . sprintf "%04d", q$Rev$ =~ /: (\d+)/;
 __PACKAGE__->mk_accessors(
      qw( view view_options uri_base template_root template_extension model
          loader display_tables ok_tables rows_per_page dsn user pass opts
-         application_name)
+         application_name additional)
 );
 
 # Should only be modified by model.
@@ -117,6 +117,11 @@ Username to log into the database with.
 
 =head2 Adding additional configuration data
 
+You can use the 'additional' attribute for stashing additional info, especially from additional_data method,
+i.e. $r->config->additional({foo=>bar});
+
+Or..
+
 If your modules need to store additional configuration data for their 
 own use or to make available to templates, add a line like this to your 
 module: