FORMfields, the premiere web framework
Login
Support Home | Knowledge Base | Documentation | Forums | Contact Us
Info
FORMfields & FORMgen :: Security

Turn Off Database Error Reporting

(1428 views. Last Updated: 2010-06-28 11:13 AM)

To increase the security of your website so that the details of database errors are kept hidden, you may want to turn off FORMfields' database error reporting. This can be done by editing FORMfields/src/FfDbHelper.php, locating the query() function and within this function replacing the line:
if (!$ignoreError) {
with:
if (false) {
Info
Support | Earn Money
Copyright © 2005-2019 Brain Book Software LLC.
Built with FORMfields, the premiere web framework.