Commit 7d2a7d87 authored by Benjamin Rousselière's avatar Benjamin Rousselière
Browse files

feat/13849 : add directive to enable session

parent 8d312fa3
Pipeline #8114 failed with stage
......@@ -94,7 +94,9 @@ class laabs
static::preload();
// Start session
\core\Globals\Session::start();
if (isset($_SERVER['LAABS_SESSION']) && $_SERVER['LAABS_SESSION'] == 'On') {
\core\Globals\Session::start();
}
// Start cache strategies
if (($memcacheServer = \laabs::getMemCacheServer()) && !empty(static::$instance)) {
......
......@@ -32,6 +32,7 @@
SetEnv LAABS_DEPENDENCIES repository;xml;html;localisation;datasource;sdo;json;fileSystem;notification;PDF;csrf;timestamp
SetEnv LAABS_PRESENTATION maarchRM
SetEnv SERVICE_CLIENT_TOKEN service
SetEnv LAABS_SESSION Off
SetEnv LAABS_CONFIGURATION "../data/maarchRM/conf/configuration.ini"
SetEnv LAABS_LOG "../data/maarchRM/log.txt"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment