diff options
author | matthew <matthew> | 2009-01-15 10:37:00 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-01-15 10:37:00 +0000 |
commit | 25ac986b1a0b0d2c040ed5f9ad9e03843834c04a (patch) | |
tree | a6c4dc09ff8bb7652a2eb86300fa336a9386b7b4 | |
parent | 96633ba434dd7e159532c2aaaa948460d659fb29 (diff) |
One more.
-rwxr-xr-x | web/index.cgi | 5 |
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); |