minor refactoring
This commit is contained in:
parent
c7235378d1
commit
1ad2f0cfd7
9 changed files with 4 additions and 44 deletions
12
app.psgi
Normal file
12
app.psgi
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
use lib '/data/WebGUI/lib';
|
||||
use WebGUI;
|
||||
|
||||
# Some ways to achieve the same thing from the command line:
|
||||
# plackup -MWebGUI -e 'WebGUI->new'
|
||||
# plackup -MWebGUI -e 'WebGUI->new("dev.localhost.localdomain.conf")'
|
||||
# plackup -MWebGUI -e 'WebGUI->new(root => "/data/WebGUI", site => "dev.localhost.localdomain.conf")'
|
||||
#
|
||||
# Or from a .psgi file:
|
||||
# my $app = WebGUI->new( root => '/data/WebGUI', site => 'dev.localhost.localdomain.conf' )->psgi_app;
|
||||
# Or equivalently (using the defaults):
|
||||
WebGUI->new;
|
||||
Loading…
Add table
Add a link
Reference in a new issue