We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1a312 commit 84f7d16Copy full SHA for 84f7d16
src/functions.php
@@ -8,13 +8,13 @@
8
*/
9
function session()
10
{
11
- if (!(\Leaf\Config::getStatic('session'))) {
12
- \Leaf\Config::singleton('session', function () {
+ if (!(\Leaf\Config::getStatic('session.instance'))) {
+ \Leaf\Config::singleton('session.instance', function () {
13
return new \Leaf\Http\Session();
14
});
15
}
16
17
- return \Leaf\Config::get('session');
+ return \Leaf\Config::get('session.instance');
18
19
20
0 commit comments