diff options
author | nashe <thomas@chauchefoin.fr> | 2017-12-23 21:07:30 +0100 |
---|---|---|
committer | nashe <thomas@chauchefoin.fr> | 2017-12-23 21:07:30 +0100 |
commit | ace3788763e40161b346757a5178bbe2cc6e7773 (patch) | |
tree | c01151134bbbbcc4afd8cd9a0b010f75eee8678e /app | |
parent | 0979b67e1baf88d7534d39c9744801a54d487b7f (diff) | |
download | planet-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-x | app/app.php | 2 |
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); |