aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2009-01-15 10:37:00 +0000
committermatthew <matthew>2009-01-15 10:37:00 +0000
commit25ac986b1a0b0d2c040ed5f9ad9e03843834c04a (patch)
treea6c4dc09ff8bb7652a2eb86300fa336a9386b7b4
parent96633ba434dd7e159532c2aaaa948460d659fb29 (diff)
One more.
-rwxr-xr-xweb/index.cgi5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index d5f768440..a26cd5b75 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.239 2009-01-15 10:19:28 matthew Exp $
+# $Id: index.cgi,v 1.240 2009-01-15 10:37:00 matthew Exp $
use strict;
use Standard;
@@ -726,7 +726,8 @@ sub display_location {
my %input_h = map { $_ => $q->param($_) ? ent($q->param($_)) : '' } @vars;
if ($input{y} =~ /favicon/) {
- print $q->redirect(-location => 'http://www.fixmystreet.com/favicon.ico', -status => 301);
+ my $base = mySociety::Config::get('BASE_URL');
+ print $q->redirect(-location => $base . '/favicon.ico', -status => 301);
return '';
}
my($error, $easting, $northing);