From e01d1692634e5d88529ee6f5e7d7422e0593a61e Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 7 Jul 2005 04:48:24 +0000 Subject: [PATCH] Added fix for empty ssl strings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@925 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/index.php b/html/index.php index ef3a213d7..7df5f64f8 100644 --- a/html/index.php +++ b/html/index.php @@ -120,7 +120,7 @@ if (!isset($HTTP_SERVER_VARS['HTTPS']) || } /* If SSL is forced, just forward to the SSL enabled site */ -if ($config->data['MAIN']['FORCESSL'] == 'true'){ +if ($config->data['MAIN']['FORCESSL'] == 'true' && $ssl != ''){ header ("Location: $ssl"); exit; } -- 2.30.2