I need to have the default behavior of CodeIgniter which is load resource if not even defined in routes. I already know one of the rules of using this package is that we could not achieve URLs which are not defined in the web.php. I'm wondering if there's a possibility to load routes from web.php and if there's no match, instead of throwing 404 read from routes.php or switch to the default behavior of framework?
Hi guys
I need to have the default behavior of
CodeIgniter
which is load resource if not even defined in routes. I already know one of the rules of using this package is that we could not achieve URLs which are not defined in theweb.php
. I'm wondering if there's a possibility to load routes fromweb.php
and if there's no match, instead of throwing404
read fromroutes.php
or switch to the default behavior of framework?