• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Disable Debug Mode

Sam F

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

if ($_SERVER['REMOTE_ADDR'] == '25.6.92.50') {
$config['debug'] = true;
}
 

tenants

Well-known member
#2
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;
}
*/