• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] MY_Router.php Set Route Question

#2
I had trouble with this once and if I recall it was while building a todo list. I had something like:

tasks.php
tasks/full_task.php
tasks/sub_tasks.php

The problem was that CI did not know where to look of course. It did not know if tasks/sub_tasks was a method in tasks.php or a controller in the actual folder tasks. The answer was to not name folders the same as controllers.

Hope that might be of some help,

Paul.
Reply


Messages In This Thread
RE: MY_Router.php Set Route Question - by PaulD - 07-13-2016, 07:20 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.