Improve HTTPS check in vChamilo plugin

pull/2487/head
Yannick Warnier 9 years ago
parent bba58e4737
commit dd43dff75b
  1. 2
      plugin/vchamilo/lib/Virtual.php

@ -125,7 +125,7 @@ class Virtual
) {
$protocol = 'https';
} else {
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']) {
if (!empty($_SERVER['HTTPS'])) {
$protocol = 'https';
} else {
$protocol = 'http';

Loading…
Cancel
Save