From 086ddc2248f74b94e8f6fb94e87fded4eca56dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Sat, 20 Sep 2014 18:35:36 +0200 Subject: [PATCH] better application name --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();