Welcome Guest, Not a member yet? Register   Sign In
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',
]; 
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB