]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/BeerDB.pm
0.2 release.
[maypole.git] / lib / BeerDB.pm
index ec9677adab670d142a7c7f9bc91fedcfc207f265..f97409f6058ee4821cf84e43d7086b3333af4c5c 100644 (file)
@@ -7,11 +7,12 @@ sub handler { Apache::MVC::handler(__PACKAGE__, @_) }
 
 # This is the sample application. Change this to the path to your
 # database. (or use mysql or something)
-#BeerDB->set_database("dbi:SQLite:t/beerdb.db");
-BeerDB->set_database("dbi:mysql:beerdb");
+BeerDB->set_database("dbi:SQLite:t/beerdb.db");
+
 # Change this to the root of the web space.
-#BeerDB->config->{uri_base} = "http://localhost/beerdb/";
-BeerDB->config->{uri_base} = "http://neo.trinity-house.org.uk/beerdb/";
+BeerDB->config->{uri_base} = "http://localhost/beerdb/";
+
+BeerDB->config->{rows_per_page} = 10;
 
 # Handpumps should not show up.
 BeerDB->config->{display_tables} = [qw[beer brewery pub style]];