• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why sub-folder controller class is not working as default controller in 3.x ?

I am using using codeigniter from last 2.5 year, and just switched over 3.x, but today I got we cannot make default controller to a class that doesn't exists in root of controller.

What I m trying :
auth is a directory
Login is a class
when i got with base_url/auth/Login It works fine.
same I have assigned in default controller :
$route['default_controller'] = 'auth/Login';
It doesn't work.

Can some please tell me if there is any possibility to resolve this issue.

$route['default_controller'] = 'auth/Login';

why the route has upper case Login, please change become login this never tested ! tell me if it works if doesn't work might be some one here will answer it


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.