mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Doc update for Director::forceSSL() (from r109152)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112788 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
97be4d2ca6
commit
ea1157f5b2
@ -615,7 +615,7 @@ class Director {
|
|||||||
* If you don't want your entire site to be on SSL, you can pass an array of PCRE regular expression
|
* If you don't want your entire site to be on SSL, you can pass an array of PCRE regular expression
|
||||||
* patterns for matching relative URLs. For example:
|
* patterns for matching relative URLs. For example:
|
||||||
* <code>
|
* <code>
|
||||||
* if(Director::isLive()) Director::forceSSL(array('/^admin/', '/^Security/.*'));
|
* if(Director::isLive()) Director::forceSSL(array('/^admin/', '/^Security/'));
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
* Note that the session data will be lost when moving from HTTP to HTTPS.
|
* Note that the session data will be lost when moving from HTTP to HTTPS.
|
||||||
|
Loading…
Reference in New Issue
Block a user