aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Page.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-23 16:58:54 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-23 16:58:54 +0000
commit21c9779d0aa2a1045d91d0e70968e81f03587678 (patch)
tree39831e93718b6f4ee5fe15a8686c4fa9c6bb60d8 /perllib/Page.pm
parentb2db40fe0ce173d96716bff07d30af0fe5bb28b5 (diff)
Allow map change in URL.
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r--perllib/Page.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index 130b5b301..6c5af0fc5 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -119,6 +119,8 @@ sub microsite {
$lang = 'en-gb' if $host =~ /^en\./;
Cobrand::set_lang_and_domain(get_cobrand($q), $lang, 1);
+ FixMyStreet::Map::set_map_class($q->param('map'));
+
Problems::set_site_restriction($q);
Memcached::set_namespace(mySociety::Config::get('BCI_DB_NAME') . ":");
}