mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
Merge pull request #72 from silverstripe/camfindlay-patch-1
Force to SSL only on Live server
This commit is contained in:
commit
ce30af4617
@ -41,6 +41,7 @@ DocumentationViewer::set_edit_link(
|
|||||||
);
|
);
|
||||||
|
|
||||||
if(Director::isLive()) {
|
if(Director::isLive()) {
|
||||||
|
Director::forceSSL();
|
||||||
ControllerExtension::$google_analytics_code = 'UA-84547-8';
|
ControllerExtension::$google_analytics_code = 'UA-84547-8';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user