![]() |
Route Helper - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Route Helper (/showthread.php?tid=6027) |
Route Helper - El Forum - 02-12-2008 [eluser]Pascal Kriete[/eluser] Personally I extended the URL helper, but route helper seemed like a good name. I've seen several people ask how they can get the current directory / controller / function since the release of 1.6, so I thought I should share. Should be pretty self-explanatory. Code: function url_directory() { If anyone can tell me if this works with multiple directories (i.e. matchbox), that would be great. |