Welcome Guest, Not a member yet? Register   Sign In
Upgrade from CI3 to CI4 - By Running them together
#6

(04-14-2024, 08:29 PM)win123139 Wrote: what about router ? how run router CI3 and CI4 in the same project

No Changes in CI3 Routing.

CI4 add the route like

$routes->get('welcome/index', 'Home::index');

And in CI3 welcome controller, index function comment all the lines of code and add $this->load_from_ci4();

This should load the CI4 Home controller, index function
Reply


Messages In This Thread
RE: Upgrade from CI3 to CI4 - By Running them together - by mkganesh - 04-14-2024, 11:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB