Skip to content

Commit b0e445a

Browse files
committed
fix: always return already initialized instance
1 parent 7d9358b commit b0e445a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function session()
1414
});
1515
}
1616

17-
return new \Leaf\Http\Session();
17+
return \Leaf\Config::get('session');
1818
}
1919
}
2020

0 commit comments

Comments
 (0)