Welcome Guest, Not a member yet? Register   Sign In
Controller not found -> Use this controller
#5

[eluser]Chicken's Egg[/eluser]
So may be even this would work:

Code:
if ( ! file_exists(APPPATH.'controllers/'.$RTR->fetch_directory().$RTR->fetch_class().EXT))
{
  if ( ! file_exists(APPPATH.'controllers/'.$RTR->fetch_directory().text.EXT))
  {
    show_error('Unable to load your default controller.  Please make sure the controller specified in your Routes.php file is valid.');
  }
}

Well, I'm gonna play a little bit more with it. This sounds a great opportunity. Thank you very much for your help.


Messages In This Thread
Controller not found -> Use this controller - by El Forum - 07-11-2008, 01:40 AM
Controller not found -> Use this controller - by El Forum - 07-11-2008, 01:48 AM
Controller not found -> Use this controller - by El Forum - 07-11-2008, 02:05 AM
Controller not found -> Use this controller - by El Forum - 07-11-2008, 02:34 AM
Controller not found -> Use this controller - by El Forum - 07-11-2008, 02:50 AM
Controller not found -> Use this controller - by El Forum - 07-11-2008, 02:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB