PHP-Nuke sql_debug Information Disclosure

Summary
In PHP-Nuke, the sql_layer.php script contains a debugging feature that may be used by attackers to disclose sensitive information about all SQL queries. Access to the debugging feature is not restricted to administrators.
Solution
Add '$sql_debug = 0 ' in config.php.