diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-18 08:15:34 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-18 08:15:34 +0200 |
commit | f0fc50119b29135c29be4528c67077e1005915be (patch) | |
tree | b57b0603e9530523d072d46f6c6744241c1dcbb5 /inc | |
parent | ebf7a07bff8be55160ff5e5999f095e82f97277f (diff) | |
download | wallabag-f0fc50119b29135c29be4528c67077e1005915be.tar.gz wallabag-f0fc50119b29135c29be4528c67077e1005915be.tar.zst wallabag-f0fc50119b29135c29be4528c67077e1005915be.zip |
Fixed #49 - test si non vide
Diffstat (limited to 'inc')
-rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 68c3612f..a6109ef7 100644 --- a/inc/functions.php +++ b/inc/functions.php | |||
@@ -7,7 +7,7 @@ function get_poche_url() | |||
7 | { | 7 | { |
8 | $protocol = "http"; | 8 | $protocol = "http"; |
9 | if(isset($_SERVER['HTTPS'])) { | 9 | if(isset($_SERVER['HTTPS'])) { |
10 | if($_SERVER['HTTPS'] != "off") { | 10 | if($_SERVER['HTTPS'] != "off" && $_SERVER['HTTPS'] != "") { |
11 | $protocol = "https"; | 11 | $protocol = "https"; |
12 | } | 12 | } |
13 | } | 13 | } |