query strings enabled and controllers into sub-directories - 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: query strings enabled and controllers into sub-directories (/showthread.php?tid=6596) |
query strings enabled and controllers into sub-directories - El Forum - 03-05-2008 [eluser]Unknown[/eluser] Hi, When query strings are enabled, whe can set Code: $config['directory_trigger'] = 'd'; That allow us to specify directory of a controller, controller we call and method of the controller. But the directory_trigger were not used, so query-strings were not available for those who used sub-directory to organize controllers. To solve the problem, I've just added some line in Router.php, function _set_routing() Code: //Router.php, function router->_set_routing() Note : I've just updated my local CI scripts, nothing else. So, if somewhone could fix it, it would be fine |