diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/index.php | 3 |
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(); |