aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/functions.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-18 08:15:34 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-18 08:15:34 +0200
commitf0fc50119b29135c29be4528c67077e1005915be (patch)
treeb57b0603e9530523d072d46f6c6744241c1dcbb5 /inc/functions.php
parentebf7a07bff8be55160ff5e5999f095e82f97277f (diff)
downloadwallabag-f0fc50119b29135c29be4528c67077e1005915be.tar.gz
wallabag-f0fc50119b29135c29be4528c67077e1005915be.tar.zst
wallabag-f0fc50119b29135c29be4528c67077e1005915be.zip
Fixed #49 - test si non vide
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php2
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 }