[TH] Disable Debug Mode

xF1 Unmaintained [TH] Disable Debug Mode 1.0.1

No permission to download
  • Author Author Josh
  • Creation date Creation date
What does this add-on do?
This add-on, when enabled, disables debug mode for all users.

This means that you can set up in your config.php file any rules you like for who can have debug mode enabled. For example:
PHP:
if ($_SERVER['REMOTE_ADDR'] == '192.168.0.1') {
$config['debug'] = true;
}










You can then have this add-on enabled to disable debug mode except for when you need it. This might be useful to make sure that you don't accidentally overwrite a master template, delete a code event listener, or otherwise completely destroy your site.

Optionally, this add-on can be set to disable debug mode on public front-end pages or Admin Control Panel pages only.
Author
Josh
Size
28.4 KB
Extension
zip
Downloads
1
Views
1,554
First release
Last update

Similar resources

Brivium - Debug AnimeHaxor
This add-on provides completely solution for turning on/off debug mode from Admincp.
[TH] Debug On Post
Ever wanted to view the debug screen after posting a form? You can now!
731Threads
2,285Messages
63,722Members
boumadjenLatest member
Back