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? Link to comment https://forums.phpfreaks.com/topic/98693-error-reporting/ Share on other sites More sharing options...
unidox Posted March 30, 2008 Share Posted March 30, 2008 Include the config, and then use define() Link to comment https://forums.phpfreaks.com/topic/98693-error-reporting/#findComment-505110 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. Link to comment https://forums.phpfreaks.com/topic/98693-error-reporting/#findComment-505149 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.