aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-01 20:08:35 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-01 20:08:35 +0100
commit6e0192caf51ed558fd58c74ab9edb2ef566a0ed3 (patch)
treeb5a13db1f3a7b854e72705aa55558d63f1d41ddc /perllib/FixMyStreet/App.pm
parent1b1faa30ce85b1d0436750d613c6f562bbee91b4 (diff)
No robot indexing on staging sites, and canonical link from OSM version back to www.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 90f1f24bc..29d224268 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -181,6 +181,10 @@ sub setup_request {
Memcached::set_namespace( FixMyStreet->config('BCI_DB_NAME') . ":" );
my $map = $host =~ /^osm\./ ? 'OSM' : $c->req->param('map');
+ #if ($c->sessionid) {
+ # $map = $c->session->{map};
+ # $map = undef unless $map eq 'OSM';
+ #}
FixMyStreet::Map::set_map_class( $map );
return $c;