aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-12 17:04:03 -0700
committerfriendica <info@friendica.com>2014-05-12 17:04:03 -0700
commitb3cc05c41dd11e245d262ede40b1ba8635953fb9 (patch)
tree8ea32fd3b4c86a343fce53cb493a488840af625f /index.php
parent6f78d4785cd767dbc37ce9c750df05264f5a32dc (diff)
downloadvolse-hubzilla-b3cc05c41dd11e245d262ede40b1ba8635953fb9.tar.gz
volse-hubzilla-b3cc05c41dd11e245d262ede40b1ba8635953fb9.tar.bz2
volse-hubzilla-b3cc05c41dd11e245d262ede40b1ba8635953fb9.zip
try to fix random logouts
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index a07c1a633..5f0ff9834 100755
--- a/index.php
+++ b/index.php
@@ -60,7 +60,7 @@ if(! $a->install) {
if(intval($a->config['system']['ssl_cookie_protection'])) {
$arr = session_get_cookie_params();
session_set_cookie_params(
- ((isset($arr['lifetime'])) ? $arr['lifetime'] : 60*5),
+ ((isset($arr['lifetime'])) ? $arr['lifetime'] : 0),
((isset($arr['path'])) ? $arr['path'] : '/'),
((isset($arr['domain'])) ? $arr['domain'] : $a->get_hostname()),
((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false),