All pastes #884470 Raw Edit

Miscellany

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