Miscellany
public text v1 · immutable#### 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.