aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-08 16:33:35 -0700
committerfriendica <info@friendica.com>2014-05-08 16:33:35 -0700
commitc410406922f23688459f7279b01e89897725f8a2 (patch)
tree18dd9cc76a03d1891cb8219720f1c60ffa6f73ef
parentd4e00c7bde1ea3e2b6e590767f7e380561cb4dae (diff)
downloadvolse-hubzilla-c410406922f23688459f7279b01e89897725f8a2.tar.gz
volse-hubzilla-c410406922f23688459f7279b01e89897725f8a2.tar.bz2
volse-hubzilla-c410406922f23688459f7279b01e89897725f8a2.zip
remove the redundant install check
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
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),