diff options
author | Marius Halden <marius.h@lden.org> | 2015-01-26 18:13:55 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-01-26 18:13:55 +0100 |
commit | 1c5c685d0b0904e7ddc6e764e58e8fae08632d1d (patch) | |
tree | 559d5fddb743c1c083e23c9a3831efea92a240cb /bin/fetch-comments-24hs | |
parent | 84de1b811a219c41adbdcc8b65851320a77e98f7 (diff) | |
parent | 04117b8be30b5d82d50cdc047ac4e7c19864f8ed (diff) |
Merge tag 'v1.5.3' into fiksgatami-dev
Diffstat (limited to 'bin/fetch-comments-24hs')
-rwxr-xr-x | bin/fetch-comments-24hs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/fetch-comments-24hs b/bin/fetch-comments-24hs index 602383d40..27853bcc1 100755 --- a/bin/fetch-comments-24hs +++ b/bin/fetch-comments-24hs @@ -7,9 +7,17 @@ use strict; use warnings; +require 5.8.0; + +BEGIN { + use File::Basename qw(dirname); + use File::Spec; + my $d = dirname(File::Spec->rel2abs($0)); + require "$d/../setenv.pl"; +} + use DateTime; use DateTime::Format::W3CDTF; -require 5.8.0; use FixMyStreet::App; use CronFns; |