From c410406922f23688459f7279b01e89897725f8a2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 8 May 2014 16:33:35 -0700 Subject: remove the redundant install check --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 36ff74169..ed3c25f07 100755 --- a/index.php +++ b/index.php @@ -57,7 +57,7 @@ if(! $a->install) { load_translation_table($a->language); // Force the cookie to be secure (https only) if this site is SSL enabled. Must be done before session_start(). - if((! $a->install) && intval($a->config['system']['ssl_cookie_protection'])) { + if(intval($a->config['system']['ssl_cookie_protection'])) { $arr = session_get_cookie_params(); session_set_cookie_params( ((isset($arr['lifetime'])) ? $arr['lifetime'] : 60*5), -- cgit v1.2.3