summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorTobias KappĂ© <[email protected]>2018-08-12 14:54:02 +0100
committerTobias KappĂ© <[email protected]>2018-08-12 15:26:54 +0100
commit52dbd55c7bd929b3b61173bc163ac1ce1b2df83e (patch)
treebc9d399ee7003725ded433d2ec17ea10c6e8ae05 /install
parent32c0c07cc1fb1019a61b83814bdd7c3830b621e6 (diff)
Fix undefined index warning in installation.
Diffstat (limited to 'install')
-rwxr-xr-xinstall/index.php2
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() {