mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Doc update for Director::forceSSL()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@109152 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
dce50511d3
commit
9d33d6abaa
@ -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
|
||||
* patterns for matching relative URLs. For example:
|
||||
* <code>
|
||||
* if(Director::isLive()) Director::forceSSL(array('/^admin/', '/^Security/.*'));
|
||||
* if(Director::isLive()) Director::forceSSL(array('/^admin/', '/^Security/'));
|
||||
* </code>
|
||||
*
|
||||
* Note that the session data will be lost when moving from HTTP to HTTPS.
|
||||
|
Loading…
Reference in New Issue
Block a user