Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
litespeed_wiki:cache:lscxf:installation [2016/09/30 21:29]
Rob Holda [Testing]
litespeed_wiki:cache:lscxf:installation [2016/09/30 21:31]
Rob Holda [XenForo Debug Mode]
Line 68: Line 68:
 ===== XenForo Debug Mode ===== ===== XenForo Debug Mode =====
  
-To enable debug mode in XenForo , add the following to "​config.php"​ under XenForo'​s "​library"​ directory:+To enable debug mode in XenForo, add the following ​lines to your "​config.php" ​file under XenForo'​s "​library"​ directory:
  
-<​code>​$config['​debug'​] = true;</​code>​ \\ **Note:​** ​It is not recommended ​to enable debug mode on a production site as it will increase resource utilization.+<​code>​$config['​debug'​] = true;</​code>​ \\ **Note:​** ​Enabling debug mode is not recommended on a production site as it will increase resource utilization.
  
 If you would like to enable debug mode only for certain IPs, you can instead add the following: If you would like to enable debug mode only for certain IPs, you can instead add the following:
Line 76: Line 76:
 <​code>​if($_SERVER['​REMOTE_ADDR'​] == '​127.0.0.1'​){$config['​debug'​] = true;​}</​code>​ <​code>​if($_SERVER['​REMOTE_ADDR'​] == '​127.0.0.1'​){$config['​debug'​] = true;​}</​code>​
  
-Where you can replace ​127.0.0.1 with the desired IP Address.+Replacing ​127.0.0.1 with the desired IP Address.
  • Admin
  • Last modified: 2019/05/17 14:37
  • by Kacey Schroeder