summaryrefslogtreecommitdiff
path: root/app.psgi
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app.psgi7
1 files changed, 6 insertions, 1 deletions
diff --git a/app.psgi b/app.psgi
index 9473ea3..36435ec 100644
--- a/app.psgi
+++ b/app.psgi
@@ -2,10 +2,15 @@
use strict;
use warnings;
use lib ('lib');
-
+use File::Basename;
use presque;
use Plack::Builder;
use YAML::Syck;
my $conf = LoadFile('conf.yaml');
my $app = presque->app( config => $conf );
+
+$app->template_path(dirname(__FILE__) . "/templates");
+$app->static_path(dirname(__FILE__) . "/static");
+
+$app;