]> git.decadent.org.uk Git - maypole.git/commitdiff
Wrong example.
authorSimon Cozens <simon@simon-cozens.org>
Tue, 17 Feb 2004 10:25:04 +0000 (10:25 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Tue, 17 Feb 2004 10:25:04 +0000 (10:25 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@63 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole.pm

index 54f0c0d7ec7c5640d0a348064c8180fe9b50fa81..bbe490565ab149f862eefc812a6343fa06457bf7 100644 (file)
@@ -135,7 +135,7 @@ this:
     package ProductDatabase;
     use base 'Maypole';
     __PACKAGE__->set_database("dbi:mysql:products");
-    BeerDB->config->{uri_base} = "http://your.site/catalogue/";
+    ProductDatabase->config->{uri_base} = "http://your.site/catalogue/";
     ProductDatabase::Product->has_a("category" => ProductDatabase::Category); 
     # ...