![]() |
Is it possible to change the name of a controller based on a configuration value? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Is it possible to change the name of a controller based on a configuration value? (/showthread.php?tid=41696) |
Is it possible to change the name of a controller based on a configuration value? - El Forum - 05-14-2011 [eluser]Th3FalleN[/eluser] What i am attempting to do is write an admin control panel for a script, and would like to give the end user the ability to change its url from its default ie: admin to a directory of their liking. Is this possible and if so how would i go about doing it? Is it possible to change the name of a controller based on a configuration value? - El Forum - 05-14-2011 [eluser]toopay[/eluser] Configure a hook, which retrieve data which has been saved in your database and manipulate the REQUESTED_URI to re-route match request to any controller. |