X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=bbe490565ab149f862eefc812a6343fa06457bf7;hb=26c9a78c855b13c194634c47ecefa2a54ffbf14a;hp=54f0c0d7ec7c5640d0a348064c8180fe9b50fa81;hpb=cb585659f8b5f12f0a32c93ac88971fe84d4c1f3;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index 54f0c0d..bbe4905 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -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); # ...