All pastes #884490 Raw Edit

Someone

public text v1 · immutable
#884490 ·published 2008-01-30 11:35 UTC
rendered paste body
#### Add the following part of code to the file:
####:<pre>} elseif ($_SERVER['SERVER_PORT']=='443') {
define('HTTPS', true);</pre>
####:below this one:
####:<pre>} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) {
define('HTTPS', true);</pre>
#### Save the file.
#### Try to enable the secure connection options.


Like This:

Add the following part of code to the file:
<pre>} elseif ($_SERVER['SERVER_PORT']=='443') {
define('HTTPS', true);</pre>
below this one:
<pre>} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) {
define('HTTPS', true);</pre>
Save the file.
Try to enable the secure connection options.