From 748b27d2298eb61c212765a9480b0db661577232 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 26 Jul 2008 15:05:25 +0200 Subject: [PATCH] Fix a notice when https is disabled. (Fix applis.js) Signed-off-by: Florent Bruneau --- classes/platal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/platal.php b/classes/platal.php index b795f14..8158367 100644 --- a/classes/platal.php +++ b/classes/platal.php @@ -250,7 +250,7 @@ class Platal return PL_NOT_FOUND; } global $globals, $session; - if ($this->https && !$_SERVER['HTTPS'] && $globals->core->secure_domain) { + if ($this->https && !@$_SERVER['HTTPS'] && $globals->core->secure_domain) { http_redirect('https://' . $globals->core->secure_domain . $_SERVER['REQUEST_URI']); } -- 2.1.4