1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 20:45:55 +00:00

Merge branch 'pullreq-fix-undefined-index-warning' of tkappe/tt-rss into master

This commit is contained in:
fox
2018-08-12 15:10:51 +00:00
committed by Gogs

View File

@@ -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() {