add type with coersion for WebGUI::Config
This commit is contained in:
parent
19c2c5fa1c
commit
8bfa022441
4 changed files with 16 additions and 12 deletions
|
|
@ -4,7 +4,7 @@ use Plack::App::File;
|
|||
use WebGUI;
|
||||
|
||||
builder {
|
||||
my $wg = WebGUI->new( site => $ENV{WEBGUI_CONFIG} );
|
||||
my $wg = WebGUI->new( config => $ENV{WEBGUI_CONFIG} );
|
||||
my $config = $wg->config;
|
||||
|
||||
enable 'Log4perl', category => $config->getFilename, conf => WebGUI::Paths->logConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue