XF 1.5 Disable Debug Mode

Sam F

Active member
To Disable Debug Mode, do you just put false where true is?

if ($_SERVER['REMOTE_ADDR'] == '25.6.92.50') {
$config['debug'] = true;
}
 
just delete it / comment it out, I think false should work (or 0), but there is no need to keep it in

Code:
/*
if ($_SERVER['REMOTE_ADDR'] == '25.6.92.50') {
$config['debug'] = true;
}
*/
 
Back
Top Bottom