What is default controller in CodeIgniter?
What is default controller in CodeIgniter?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
Default Controller. CodeIgniter 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 ‘;