controller in subfolder admin |
[eluser]mardon[/eluser]
Hi, I wrote my first application in CI on localhost a I have a problem in controller I have subfolder admin for admin script in which I have admin.php with method login in which I load login form when I use http://localhost/application_folder/inde...min/login/ its OK I add to routes Code: $route['admin'] = 'admin/admin'; http://localhost/application_folder/admin/login for the same controoller but this route isn't function. Whats the problem?
[eluser]InsiteFX[/eluser]
Then you need to use an .htacess file to get rid of index.php this is all in the CodeIgniter User Guide. InsiteFX
[eluser]mardon[/eluser]
Oops, my mistake I dont know this, now is it OK Thank you |
Welcome Guest, Not a member yet? Register Sign In |