summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authornashe <thomas@chauchefoin.fr>2017-12-23 21:07:30 +0100
committernashe <thomas@chauchefoin.fr>2017-12-23 21:07:30 +0100
commitace3788763e40161b346757a5178bbe2cc6e7773 (patch)
treec01151134bbbbcc4afd8cd9a0b010f75eee8678e /app
parent0979b67e1baf88d7534d39c9744801a54d487b7f (diff)
downloadplanet-ace3788763e40161b346757a5178bbe2cc6e7773.tar
planet-ace3788763e40161b346757a5178bbe2cc6e7773.tar.gz
planet-ace3788763e40161b346757a5178bbe2cc6e7773.tar.bz2
planet-ace3788763e40161b346757a5178bbe2cc6e7773.tar.xz
planet-ace3788763e40161b346757a5178bbe2cc6e7773.zip
Give a session to the users
Diffstat (limited to 'app')
-rwxr-xr-xapp/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/app.php b/app/app.php
index a6232cf..64c120a 100755
--- a/app/app.php
+++ b/app/app.php
@@ -7,6 +7,8 @@ require_once __DIR__.'/../vendor/autoload.php';
$savedConfig = __DIR__.'/../custom/config.yml';
$moon_version = file_get_contents(__DIR__.'/../VERSION');
+session_start();
+
if (is_installed()) {
$conf = Spyc::YAMLLoad($savedConfig);