equal
deleted
inserted
replaced
175 |
175 |
176 // DST settings |
176 // DST settings |
177 global $dst_params; |
177 global $dst_params; |
178 $dst_params = array(0, 0, 0, 0, 60); |
178 $dst_params = array(0, 0, 0, 0, 60); |
179 |
179 |
|
180 // Establish HTTPS |
|
181 $is_https = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'; |
|
182 |
180 // Divert to CLI loader if running from CLI |
183 // Divert to CLI loader if running from CLI |
181 if ( defined('ENANO_CLI') || ( isset($argc) && isset($argv) ) ) |
184 if ( defined('ENANO_CLI') || ( isset($argc) && isset($argv) ) ) |
182 { |
185 { |
183 if ( defined('ENANO_CLI') || ( is_int($argc) && is_array($argv) && !isset($_SERVER['REQUEST_URI']) ) ) |
186 if ( defined('ENANO_CLI') || ( is_int($argc) && is_array($argv) && !isset($_SERVER['REQUEST_URI']) ) ) |
184 { |
187 { |