diff options
author | fox <[email protected]> | 2018-08-12 15:10:51 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2018-08-12 15:10:51 +0000 |
commit | f12907466639ecdc2e14b3b98a75a09a7b1332a7 (patch) | |
tree | bc9d399ee7003725ded433d2ec17ea10c6e8ae05 /install/index.php | |
parent | 32c0c07cc1fb1019a61b83814bdd7c3830b621e6 (diff) | |
parent | 52dbd55c7bd929b3b61173bc163ac1ce1b2df83e (diff) |
Merge branch 'pullreq-fix-undefined-index-warning' of tkappe/tt-rss into master
Diffstat (limited to 'install/index.php')
-rwxr-xr-x | install/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/index.php b/install/index.php index f1547982c..350c2f2d0 100755 --- a/install/index.php +++ b/install/index.php @@ -139,7 +139,7 @@ } function is_server_https() { - return (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] != 'off')) || $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'; + return (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] != 'off')) || (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'); } function make_self_url_path() { |