I installed Codeigniter 4.0.2 and did following changes:
1- CI_ENVIRONMENT = development in .env file
2- SetEnv CI_ENVIRONMENT development in .htaccess in public folder
3- Added $useKint = true; in main index.php file in public folder
When I open at localhost, welcome page is rendered but no Debug Toolbar is rendered. Am I missing anything?
Advertisement
Answer
This fixed it for me:
- Rename env file to .env and open it
- Uncomment line
# CI_ENVIRONMENT = productionand change to the value todevelopment - Change the
app.baseURLvalue to your app’s base URL (this seems like the step you missed)