diff options
author | louise <louise> | 2009-09-02 09:07:26 +0000 |
---|---|---|
committer | louise <louise> | 2009-09-02 09:07:26 +0000 |
commit | 01c257c51ddc21dc2a40ad3922f6b7a07098c85a (patch) | |
tree | 343e13476837b35ed64f2454bcc9d42757c87f8b | |
parent | 3f96fbc0a8cfbabf7eeeb447aff60c64144e0c54 (diff) |
Tweak - no default lang, should be negotiated
-rw-r--r-- | perllib/Page.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index 8635e2002..b8dd13e27 100644 --- a/perllib/Page.pm +++ b/perllib/Page.pm @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: Page.pm,v 1.168 2009-09-02 08:55:59 louise Exp $ +# $Id: Page.pm,v 1.169 2009-09-02 09:07:26 louise Exp $ # package Page; @@ -105,7 +105,7 @@ sub microsite { } if ($q->{site} ne 'fixmystreet') { - my $lang = 'en-gb'; + my $lang; $lang = 'cy' if $host =~ /cy/; $lang = 'en-gb' if $host =~ /^en\./; Cobrand::set_lang_and_domain($q->{site}, $lang); |