RE: What is default controller in CodeIgniter?

What is default controller in CodeIgniter?

dip Team Leader Asked on June 7, 2018 in CODEIGNITER.
Add Comment
1 Answers

Default ControllerCodeIgniter can be told to load a default controllerwhen a URI is not present, as will be the case when only your site root URL is requested. To specify a default controller, open your application/config/routes.php file and set this variable: $route[‘default_controller’] = ‘ MyPage ‘;

Senior Developer Answered on July 3, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.