I am using codeigniter for the back end of my website. For that I have created admin folder inside my controller. My issue is that when i type the url
It should redirect to the file login.php which is inside the contollers/admin
Inside the routes.php write this code:
$route['admin'] = 'admin/controller/function';