1
bingomanatee
controlling debug mode in page context

I am developing a module that pulls in pages ajax-style.

I want the main pages I'm still working on to have deug flags (time, errors, smarty messages etc.) but to be able to "Turn off" these error flags on ajax-inserted questions.

How can I write code to turn off (or perhaps on!) the debug mode on a page by page basis?

2
leostotch
Re: controlling debug mode in page context
  • 2006/9/8 21:13

  • leostotch

  • Just popping in

  • Posts: 76

  • Since: 2006/4/1 1


$GLOBALS['xoopsLogger']->activated false;



Login

Who's Online

426 user(s) are online (344 user(s) are browsing Support Forums)


Members: 0


Guests: 426


more...

Donat-O-Meter

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

Latest GitHub Commits