Fixed #49 - test si non vide

This commit is contained in:
nicosomb 2013-04-18 08:15:34 +02:00
parent ebf7a07bff
commit f0fc50119b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ function get_poche_url()
{
$protocol = "http";
if(isset($_SERVER['HTTPS'])) {
if($_SERVER['HTTPS'] != "off") {
if($_SERVER['HTTPS'] != "off" && $_SERVER['HTTPS'] != "") {
$protocol = "https";
}
}