Merge pull request #72 from silverstripe/camfindlay-patch-1

Force to SSL only on Live server
This commit is contained in:
Damian Mooyman 2015-07-23 09:32:14 +12:00
commit ce30af4617

View File

@ -41,6 +41,7 @@ DocumentationViewer::set_edit_link(
);
if(Director::isLive()) {
Director::forceSSL();
ControllerExtension::$google_analytics_code = 'UA-84547-8';
}