Call file / class from ThirdParty folder |
(11-22-2019, 07:56 AM)MGatner Wrote: That's the correct way to call it, so you probably don't have it loaded. Read up on autoloading if you'd like the framework to handle it for you: Hi MGatner, sorry for my late reply, thankyou so much for your help, i try your solution but still not work yet, and i try using classmap too.. but not work too.. updating my autoload.php PHP Code: $psr4 = [ Foo.php ( locate at ThirdParty folder) look like this PHP Code: <?php namespace TP\Tools; User controller PHP Code: <?php namespace App\Controllers; |
Messages In This Thread |
Call file / class from ThirdParty folder - by StefenKhoe - 11-21-2019, 07:57 PM
RE: Call file / class from ThirdParty folder - by MGatner - 11-22-2019, 07:56 AM
RE: Call file / class from ThirdParty folder - by StefenKhoe - 11-25-2019, 06:17 AM
RE: Call file / class from ThirdParty folder - by dave friend - 11-25-2019, 09:43 AM
RE: Call file / class from ThirdParty folder - by StefenKhoe - 11-29-2019, 07:30 AM
|