aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-05 18:35:02 -0700
committerfriendica <info@friendica.com>2014-05-05 18:35:02 -0700
commitf0653ace2295063692de3001c271532a90d59383 (patch)
tree169c0e2117101adaff198007761f6b53cb4e1050
parentbdbda6074cb3bc06b748a557b9c16f775ecc3508 (diff)
downloadvolse-hubzilla-f0653ace2295063692de3001c271532a90d59383.tar.gz
volse-hubzilla-f0653ace2295063692de3001c271532a90d59383.tar.bz2
volse-hubzilla-f0653ace2295063692de3001c271532a90d59383.zip
improved cookie security
-rwxr-xr-xindex.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 24d54d829..7e83197b8 100755
--- a/index.php
+++ b/index.php
@@ -73,6 +73,7 @@ else {
*
*/
+session_set_cookie_params(300,'/',$a->get_hostname(),(($_SERVER['HTTPS']) ? true : false),true);
session_start();
/**