1
iunderwood
Explicitly disable debug output for a page.

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;
Resized Image

Login

Who's Online

234 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits