Skip to content

Commit 84f7d16

Browse files
committed
chore: swap out functional mode identifier
1 parent ab1a312 commit 84f7d16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/functions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
*/
99
function session()
1010
{
11-
if (!(\Leaf\Config::getStatic('session'))) {
12-
\Leaf\Config::singleton('session', function () {
11+
if (!(\Leaf\Config::getStatic('session.instance'))) {
12+
\Leaf\Config::singleton('session.instance', function () {
1313
return new \Leaf\Http\Session();
1414
});
1515
}
1616

17-
return \Leaf\Config::get('session');
17+
return \Leaf\Config::get('session.instance');
1818
}
1919
}
2020

0 commit comments

Comments
 (0)