![]() |
Routes function
Hi!
Like I said before, I'm quite into Framework at the moment. Anyhow, something's wrong with my routes function, because.. it works GREAT when I'm on this url: localhost/index.php/controller/index/ but not localhost/index.php/controller/index It has to end with a trailing slash, or else I get this: Code:
Notice: Undefined index: 3 in C:\wamp\www\testproject\system\libraries\Router.php on line 33PHP Code:
PHP Code:
Thanks |
Well, get rid of that error by setting the error_reporting level lower or use
PHP Code:
|
Ahh, thanks! I solved it already by myself though, not sure if I'm using the best solution, but it got rid of the error, without lowering the error level, so I assume that's a good thing :-P
|
| All times are GMT. The time now is 01:10 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0