summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorFelix Favre <gnomus@gnomus.de>2014-12-06 19:02:26 +0100
committerFelix Favre <gnomus@gnomus.de>2014-12-06 19:02:26 +0100
commit2f445eb90c6267a9f1055d1536838d9b3fe12f3b (patch)
treee954579afcbd6399fc8e17a4b5354f19e046e00f /public
parent3973236f6e4cb76a20fca3b908afd526f293a850 (diff)
parent10d7fce163ff28da68b036bd4fae95040fd170a9 (diff)
Merge branch 'master' of github.com:engelsystem/engelsystem
Diffstat (limited to 'public')
-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();