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:
Sam Minnee 2010-10-19 00:58:52 +00:00
parent 97be4d2ca6
commit ea1157f5b2

View File

@ -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.