mirror of https://github.com/wallabag/wallabag.git
Fixed #49 - test si non vide
This commit is contained in:
parent
ebf7a07bff
commit
f0fc50119b
|
@ -7,7 +7,7 @@ function get_poche_url()
|
||||||
{
|
{
|
||||||
$protocol = "http";
|
$protocol = "http";
|
||||||
if(isset($_SERVER['HTTPS'])) {
|
if(isset($_SERVER['HTTPS'])) {
|
||||||
if($_SERVER['HTTPS'] != "off") {
|
if($_SERVER['HTTPS'] != "off" && $_SERVER['HTTPS'] != "") {
|
||||||
$protocol = "https";
|
$protocol = "https";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue