![]() |
Controller and Folder - 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: Controller and Folder (/showthread.php?tid=25478) |
Controller and Folder - El Forum - 12-13-2009 [eluser]Sein Kraft[/eluser] Hi, i've a controller called accounts.php and a folder in the root also called accounts. When i try to acess to the controler dont work, intead it shows the content of the folder. There is any way to avoid this and run the controller intead display the folder content? Controller and Folder - El Forum - 12-13-2009 [eluser]Jondolar[/eluser] What does your URL look like? www.yourdomain.com/index.php/controller or www.yourdomain.com/controller If it is the latter, then you need to work on your .htaccess file to get it to point to index.php Controller and Folder - El Forum - 12-13-2009 [eluser]Sein Kraft[/eluser] My url is www.yourdomain.com/controller |