Commit 40eeea7b authored by Ad Schellevis's avatar Ad Schellevis

(mvc) set phalcon session as shared

parent c3541ad1
......@@ -72,7 +72,7 @@ $di->set('modelsMetadata', function () {
/**
* Start the session the first time some component request the session service
*/
$di->set('session', function () {
$di->setShared('session', function () {
$session = new SessionAdapter();
$session->start();
......
......@@ -59,7 +59,7 @@ $di->set('url', function () use ($config) {
/**
* Start the session the first time some component request the session service
*/
$di->set('session', function () {
$di->setShared('session', function () {
$session = new SessionAdapter();
$session->start();
......
Markdown is supported
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