#### Add the following part of code to the file:
####:<source lang="php">} elseif ($_SERVER['SERVER_PORT']=='443') {
define('HTTPS', true);</source>
####:below this one:
####:<source lang="php">} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) {
define('HTTPS', true);</source>
#### Save the file.
#### Try to enable the secure connection options.
I also tried this:
#### Add the following part of code to the file:
####:<nowiki><source lang="php">} elseif ($_SERVER['SERVER_PORT']=='443') {
define('HTTPS', true);</nowiki></source>
####:below this one:
####:<source lang="php"><nowiki>} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) {
define('HTTPS', true);</nowiki></source>
#### Save the file.
#### Try to enable the secure connection options.
Which just made the <nowiki> pointless because <source> thought it was code, so I tried this:
#### Add the following part of code to the file:
####:<nowiki><source lang="php">} elseif ($_SERVER['SERVER_PORT']=='443') {
define('HTTPS', true);</source></nowiki>
####:below this one:
####:<nowiki><source lang="php">} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) {
define('HTTPS', true);</source></nowiki>
#### Save the file.
#### Try to enable the secure connection options.
And that made the <source> not work.... I want to use source so that it will show the php syntax.