Merge $psr4 array |
Hello,
I am trying to merge additional routes from an external file with the $psr4 array. Is this possible? Thank you
This is how CodeIgniter loads its files from system/bootstrap.php
PHP Code: // system/bootstrap.php You might be able to extend the system/Autoloader/FileLocator.php and array_merge youtr file in there. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I am not certain how to do that. Are you able to provide some guidance. Thank you!
This explains it all.
CodeIgniter 4 User Guide - Extending CodeIgniter What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |