Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

OPENSHIFT: Remove SSL detection due to reverse-proxy issue, SSL works…

… but is not detected by $_SERVER as it appears the SSL termination is being perfomed off box.
  • Loading branch information...
commit 065f9097d021170fad8f3b12950fed8b1b9f277b 1 parent 9992914
@linickx authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 php/index.php
8 php/index.php
@@ -6,14 +6,6 @@
- if($_SERVER['HTTPS']!=="on") { // Require SSL, we need to really!
- $redirect= "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
- #header("Location:$redirect");
- print_r($_SERVER);
@linickx Owner
linickx added a note

Available $_SERVER variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
- exit;
- }
if (!file_exists("../../data/config.php")) {

0 comments on commit 065f909

Please sign in to comment.
Something went wrong with that request. Please try again.