Search code examples
codeignitererror-handlingcodeigniter-4

How to turn off the new codeigniter 4 error reporting


Is there a way to turn off the fancy error reporting in Codeigniter 4? I prefer the classic way.


Solution

  • That is handled by the system/debug/Exceptions.php

    At the moment there's no way of turning that off with just a setting. One way you can do what you want is to just edit the app/views/errors/html/error_exception.php to display just what you want and not all that.