[eluser]Unknown[/eluser]
[quote author="vitoco" date="1351456018"]The first problem that i see, it's that the redirection path it's wrong, your are telling CI redirect to controller "application" and method "main"
Code:
redirect('application/main');
but it must be controller "main" method "main"
Code:
redirect('main/main');
Second, the "main" function in "Main" controller it's the constructor, so it's called every time when you call a method of that class, and that can be a problem later, i think it will be better to change the function name to something different.
[/quote]
I love you.
I got mixed with the file name as it is still muddy to me how CI finds the files it needs. But that is for another post.
Thanks.