• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting with Myth:Auth - some questions

#6
You're right, I should add manual installation instructions back in. Had it there at one point, but then got it up on Packagist so Composer install would work and I replaced it instead of augmented the instructions. I'll get that remedied soon-ish.

The beauty of auto-loading is that you can place those files anywhere on the system you want (maybe app/ThirdParty?). Then you just have to tell the autoloader where to find it by editing app/Config/Autoload.php and add the Myth\Auth namespace to the $psr4 array.

PHP Code:
$psr4 = [
    
'Config' => APPPATH 'Config',
    
APP_NAMESPACE => APPPATH,            
    
'App' => APPPATH,
    
'Myth/Auth' => APPPATH .'ThirdParty/Myth/Auth/src',
]; 
Support Development  • Practical CodeIgniter 3  •
Myth:AuthVulcan - CLI Tools for CI4
Reply


Messages In This Thread
RE: Starting with Myth:Auth - some questions - by kilishan - 11-01-2019, 09:04 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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