CodeIgniter Forums
Routes execution time - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: Routes execution time (/showthread.php?tid=64257)



Routes execution time - jonathanq - 01-31-2016

Anyone know you can create routes before loading the driver.
It occurs to me to add the path to a HOOK before starting the controler function.

I see in the system class exists and set_function set_class.

You could use something like $ this-> router-> set_class ('name');