Better integration of Fork into AssetHelpers, fork startup
This commit is contained in:
parent
bb8753cd2a
commit
a4edea1e3c
12 changed files with 162 additions and 160 deletions
3
app.psgi
3
app.psgi
|
|
@ -2,11 +2,14 @@ use strict;
|
|||
use Plack::Builder;
|
||||
use WebGUI::Paths -inc;
|
||||
use WebGUI::Config;
|
||||
use WebGUI::Fork;
|
||||
|
||||
if ($ENV{PLACK_ENV} ne 'development') {
|
||||
WebGUI::Paths->preloadAll;
|
||||
}
|
||||
|
||||
WebGUI::Fork->init();
|
||||
|
||||
builder {
|
||||
my $first_app;
|
||||
for my $config_file (WebGUI::Paths->siteConfigs) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue