1
Just wanted to share a technique I'm using in some module development to disable XOOPS debugging if it has been set in the control panel. This is good when working on thing such as XML outputs and stuff that shouldn't get the debug script in the code:
// Disable all debugging for this file.
error_reporting(0);
$xoopsLogger->activated = false;
++I;