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

#1
Unfortunately what loved a Codeigniter earlier now for was lost - documentation very bad Huh
I create new project on CI 4
How i can autoload session
app/Config/Autoload.php
Code:
$psr4 = [
            'Config'      => APPPATH . 'Config',
            APP_NAMESPACE => APPPATH,                // For custom namespace
            'App'         => APPPATH,                // To ensure filters, etc still found,
            'Session'     => SYSPATH . 'Session',
            
        ];
Result - Warning: Use of undefined constant SYSPATH - assumed 'SYSPATH' (this will throw an Error in a future version of PHP)
Help
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.