summaryrefslogtreecommitdiff
path: root/includes/helper/session_helper.php
diff options
context:
space:
mode:
authorFelix Favre <gnomus@gnomus.de>2015-06-07 15:05:59 +0200
committerFelix Favre <gnomus@gnomus.de>2015-06-07 15:05:59 +0200
commitdc2c986522cad1878ab6a58a3c134501c72204cc (patch)
tree0cfb6baac4dfcb3447bde257b37ff42600f34225 /includes/helper/session_helper.php
parent218b305a3e6b94c7a5bd551f67fe6d9bb05d5e79 (diff)
fix location of session file storage
Diffstat (limited to 'includes/helper/session_helper.php')
-rw-r--r--includes/helper/session_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/helper/session_helper.php b/includes/helper/session_helper.php
index 7a3b551e..443701ee 100644
--- a/includes/helper/session_helper.php
+++ b/includes/helper/session_helper.php
@@ -9,7 +9,7 @@
*/
function session_lifetime($lifetime, $application_name) {
// Set session save path and name
- $session_save_path = rtrim(session_save_path(), '/') . '/' . $application_name;
+ $session_save_path = '/tmp/' . $application_name;
if (! file_exists($session_save_path))
mkdir($session_save_path);
if (file_exists($session_save_path))