aboutsummaryrefslogtreecommitdiffstats
path: root/web/posters/index.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'web/posters/index.cgi')
-rwxr-xr-xweb/posters/index.cgi13
1 files changed, 4 insertions, 9 deletions
diff --git a/web/posters/index.cgi b/web/posters/index.cgi
index 252284125..a4f2fca2f 100755
--- a/web/posters/index.cgi
+++ b/web/posters/index.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl -w -I../../perllib -I../../../perllib
# posters/index.cgi:
# List of publicity stuff on FixMyStreet
@@ -6,16 +6,11 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.4 2007-07-16 15:07:55 matthew Exp $
+# $Id: index.cgi,v 1.5 2007-08-29 23:03:17 matthew Exp $
use strict;
-require 5.8.0;
-
-# Horrible boilerplate to set up appropriate library paths.
-use FindBin;
-use lib "$FindBin::Bin/../../perllib";
-use lib "$FindBin::Bin/../../../perllib";
-use Page;
+use Standard -db;
+use mySociety::Config;
# XXX: Ugh, as we're in a subdirectory
BEGIN {