From 8c1f6d2c9c36d84bff629e4bd1e1fdbbe4b83d76 Mon Sep 17 00:00:00 2001 From: Felix Favre Date: Wed, 26 Aug 2015 13:33:38 +0200 Subject: [PATCH] removed sessionhelper. we should let this handle the server administrator within the PHP config --- includes/engelsystem_provider.php | 5 +---- includes/helper/session_helper.php | 30 ------------------------------ 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 includes/helper/session_helper.php diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php index 2dc425a2..fc5553bc 100644 --- a/includes/engelsystem_provider.php +++ b/includes/engelsystem_provider.php @@ -76,9 +76,6 @@ require_once realpath(__DIR__ . '/../includes/pages/user_shifts.php'); require_once realpath(__DIR__ . '/../vendor/parsedown/Parsedown.php'); -if (! defined('PHPUNIT_TESTSUITE')) { - session_lifetime(24 * 60, preg_replace("/[^a-z0-9-]/", '', md5(__DIR__))); -} session_start(); gettext_init(); @@ -87,4 +84,4 @@ sql_connect($config['host'], $config['user'], $config['pw'], $config['db']); load_auth(); -?> \ No newline at end of file +?> diff --git a/includes/helper/session_helper.php b/includes/helper/session_helper.php deleted file mode 100644 index 443701ee..00000000 --- a/includes/helper/session_helper.php +++ /dev/null @@ -1,30 +0,0 @@ - \ No newline at end of file