aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 4ec941195..60c25d0be 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -2,11 +2,6 @@ package FixMyStreet::App;
use Moose;
use namespace::autoclean;
-BEGIN {
- use mySociety::Config;
- mySociety::Config::set_file("conf/general");
-}
-
use Catalyst::Runtime 5.80;
use Catalyst qw/
@@ -18,6 +13,11 @@ extends 'Catalyst';
our $VERSION = '0.01';
+BEGIN {
+ use mySociety::Config;
+ mySociety::Config::set_file( __PACKAGE__->path_to("conf/general") );
+}
+
# Configure the application.
#
# Note that settings in fixmystreet_app.conf (or other external