rofl90 Posted March 30, 2008 Share Posted March 30, 2008 I'm trying to put error reporting as an option to turn off/on in my settings, the onyl way I could think of was fread my config.php and find error_reporting(0/1); and replace with new option.. anybody else know an easier way? Quote Link to comment Share on other sites More sharing options...
unidox Posted March 30, 2008 Share Posted March 30, 2008 Include the config, and then use define() Quote Link to comment Share on other sites More sharing options...
rofl90 Posted March 30, 2008 Author Share Posted March 30, 2008 Could you provide some code please, sorry for the inconvenience. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.