Browse Source

- Fix an error in HTTPS detection

pull/5/head
Jaussoin Timothée 14 years ago
parent
commit
45660f4d48
  1. 3
      init.php

3
init.php

@ -19,9 +19,6 @@ define('APP_TITLE', t("MOVIM - Test Client"));
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != "") {
$uri = 'https://';
}
else if(mvc_get_conf('app/https_only', false)) {
$uri = 'https://';
}
if($path == "") {
$uri .= $_SERVER['HTTP_HOST'] . '/';

Loading…
Cancel
Save