I’ve been using CI for a while now and recently upgraded to CI 3. I noticed the Session library has now been moved to a folder.
I used to have my own MY_Session.php file in the application/libraries folder that extended the default CI library.
I also use the autoload.php file to autoload my session library.
This no longer works, as I get Unable to load the requested class: Session.
If I remove MY_Session.php file, then the pages load, but then I’ll be missing my extended functionality.
Does anyone know how exactly to extend the session library in CI 3?
Currently it is impossible to do that, but there’s a pending pull request that tries to solve the problem.
However, you shouldn’t post questions related to yet unreleased software. Anything that is in a development stage might be changed again, become obsolete, etc. and your question here would automatically become irrelevant to everybody, including yourself. You should post/ask your questions on the repository itself (and search for an already existing issue of course).