equal
deleted
inserted
replaced
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 // Divert to CLI loader if running from CLI |
180 // Divert to CLI loader if running from CLI |
181 if ( isset($argc) && isset($argv) ) |
181 if ( defined('ENANO_CLI') || ( isset($argc) && isset($argv) ) ) |
182 { |
182 { |
183 if ( is_int($argc) && is_array($argv) && !isset($_SERVER['REQUEST_URI']) ) |
183 if ( defined('ENANO_CLI') || ( is_int($argc) && is_array($argv) && !isset($_SERVER['REQUEST_URI']) ) ) |
184 { |
184 { |
185 require(ENANO_ROOT . '/includes/common_cli.php'); |
185 require(ENANO_ROOT . '/includes/common_cli.php'); |
186 return; |
186 return; |
187 } |
187 } |
188 } |
188 } |