Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Commit 3be47ad

Browse files
authoredJul 27, 2016
Merge pull request #243 from david62311/patch-4
HTTPS Bug fix
2 parents 0d3dd83 + 5d7bac9 commit 3be47ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎header.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
$page_title = (isset($page_title)) ? ' ' . $page_title : '';
2727

2828
// check we are using ssl
29-
if($system->SETTINGS['https'] == 'y' && $_SERVER["HTTPS"] != "on")
29+
if($system->SETTINGS['https'] == 'y' && $_SERVER['HTTPS'] != "on")
3030
{
3131
$cleaned_url = str_replace(['http://', 'https://'], '', $system->SETTINGS['siteurl']);
3232
header("Location: https://" . $cleaned_url . $_SERVER["REQUEST_URI"]);

0 commit comments

Comments
 (0)