summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-06 18:10:27 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-06 18:37:39 +0100
commit57a92dbdcd1ecd27bde621e9a51dbbd11ed82845 (patch)
tree8e4dafbe9375961325d0767bd6f0c6dc778e06ac /public/index.php
parent191ba6e1b14b94a3a46c16ca488f388c82120bad (diff)
add opt-in bool for shiftinfo mails and remove icq from users
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/index.php b/public/index.php
index 67f9ee11..f6dca310 100644
--- a/public/index.php
+++ b/public/index.php
@@ -1,5 +1,4 @@
<?php
-
require_once realpath(__DIR__ . '/../includes/mysqli_provider.php');
require_once realpath(__DIR__ . '/../includes/sys_auth.php');
@@ -61,7 +60,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-]/", '', md5(__DIR__)));
+session_lifetime(24 * 60, preg_replace("/[^a-z0-9-]/", '', md5(__DIR__)));
session_start();
gettext_init();