Minor improvements
Updated TODO Enabled preloading Added defaultPSGI to WebGUI::Paths Added example of testing site via Plack::Test
This commit is contained in:
parent
f99f672b06
commit
5c70ffb3e0
7 changed files with 30 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue