summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-09-20 18:35:36 +0200
committerPhilip Häusler <msquare@notrademark.de>2014-09-20 18:35:36 +0200
commit086ddc2248f74b94e8f6fb94e87fded4eca56dc1 (patch)
tree62a840a1acd2b95226b5e12c747abe903c02ef3f /public/index.php
parent50fea6d371492741f442067199d7c32c3432d6e0 (diff)
better application name
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php
index 0d1184bc..71ce964e 100644
--- a/public/index.php
+++ b/public/index.php
@@ -61,7 +61,7 @@ require_once realpath(__DIR__ . '/../includes/pages/user_shifts.php');
require_once realpath(__DIR__ . '/../vendor/parsedown/Parsedown.php');
-session_lifetime(24*60, preg_replace("/[^a-z0-9-]/", '', $_SERVER['REQUEST_URI']));
+session_lifetime(24*60, preg_replace("/[^a-z0-9-]/", '', md5(__DIR__)));
session_start();
gettext_init();