summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-05-14 17:20:46 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-05-14 17:20:46 +0200
commit0a59089e2b3e16923b80cf071c769d628053e59e (patch)
tree0b7736e41ddceb3381a4c96b61f7897a5c5607e5 /public/index.php
parent284ed12f594ee4001eafaff57c626df37a077f0a (diff)
add room model tests
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
index 418b7eea..d69c4361 100644
--- a/public/index.php
+++ b/public/index.php
@@ -1,6 +1,9 @@
<?php
require_once realpath(__DIR__ . '/../includes/engelsystem_provider.php');
+session_lifetime(24 * 60, preg_replace("/[^a-z0-9-]/", '', md5(__DIR__)));
+session_start();
+
// JSON Authorisierung gewünscht?
if (isset($_REQUEST['auth']))
json_auth_service();