Minor improvements

Updated TODO
Enabled preloading
Added defaultPSGI to WebGUI::Paths
Added example of testing site via Plack::Test
This commit is contained in:
Patrick Donelan 2010-04-18 14:51:24 -04:00
parent f99f672b06
commit 5c70ffb3e0
7 changed files with 30 additions and 19 deletions

View file

@ -2,16 +2,8 @@ use strict;
use Plack::Builder;
use Plack::App::File;
use WebGUI;
# Temporary preload hack
use WebGUI::Paths -preload;
use DBI;
DBI->install_driver("mysql");
# end hack
use WebGUI::Middleware::Debug::Performance;
my $config = $ENV{WEBGUI_CONFIG};
builder {
my $wg = WebGUI->new( site => $ENV{WEBGUI_CONFIG} );
my $config = $wg->config;