title: How to turn off mysql errors from being displayed to screen in CodeIgniter
body: <p>Even though error_reporting is set to 0, database errors are still being printed to screen. Is there a setting somewhere I can change to disable database error reporting? This is for CodeIgniter v1.6.x</p>
  
  <p><strong>EDIT</strong>: Re: Fixing errors - Um, yes. I want to fix the errors. I get error notices from my error log, not from what my visitors see printed to their screen. That helps no one, and hurts my system's security.</p>
  
  <p><strong>EDIT 2</strong>: Setting error_reporting to 0 does not affect CodeIgniter's built-in error logging class from writing to the error log.</p>