includes/common.php
changeset 832 7152ca0a0ce9
parent 812 68060328e9c6
child 901 99ea0b0ac4be
--- a/includes/common.php	Mon Feb 16 16:04:54 2009 -0500
+++ b/includes/common.php	Mon Feb 16 16:17:25 2009 -0500
@@ -177,6 +177,9 @@
 global $dst_params;
 $dst_params = array(0, 0, 0, 0, 60);
 
+// Establish HTTPS
+$is_https = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off';
+
 // Divert to CLI loader if running from CLI
 if ( defined('ENANO_CLI') || ( isset($argc) && isset($argv) ) )
 {