• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can session autoload?

#4
The BaseController is intended to be the mechanism for providing the equivalent of autoloading from CI3 ... https://codeigniter4.github.io/userguide...oller.html

Your first post above is trying to create a Sessions namespace, which is not provided for in the framework.

CI4's app/Config/Autoload is meant to tell the PHP class loader where to find source code, and not to preload components for a request.
Reply


Messages In This Thread
Can session autoload? - by Andryshok - 05-16-2019, 03:26 AM
RE: Can session autoload? - by rmcdahal - 05-16-2019, 04:10 AM
RE: Can session autoload? - by Andryshok - 05-16-2019, 04:30 AM
RE: Can session autoload? - by ciadmin - 05-16-2019, 06:40 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.