Welcome Guest, Not a member yet? Register   Sign In
Routing Question
#1

[eluser]Unknown[/eluser]
Hello,

Right now, in my routing.php file I have:

$route[':any'] = 'main/index';

So, this calls to the main class, index function and serves basically as a template.

Although, in my controller folder I have a folder 'admin' with a Home class and other classes.
Before I put in the :any exception, and I went to http://mysite.com/admin, it would pull up classes how it was supposed to. After I put it in, going to that url just throws a 404.

Help would be appriciated,
Thanks in advance!

- Mike


Messages In This Thread
Routing Question - by El Forum - 09-08-2009, 05:24 PM
Routing Question - by El Forum - 09-08-2009, 07:22 PM
Routing Question - by El Forum - 09-08-2009, 08:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB