If we set ENVIRONMENT to "development" will show errors but testing and live will hide them. If we set to "production" will show blank white page.
How to make a custom page no white page if we set ENVIRONMENT to "production"?
Thanks
If we set ENVIRONMENT to "development" will show errors but testing and live will hide them. If we set to "production" will show blank white page.
How to make a custom page no white page if we set ENVIRONMENT to "production"?
Thanks
You would need to extend Codeigniters default error handling methods for throwing exceptions.
Custom error pages with templates in CodeIgniter
This however will not override PHPs errors. For that you will need to modify your code to detect an error and redirect accordingly..