Dustin Rohel Posted June 8, 2023 Share Posted June 8, 2023 How to turn debug on and off.?.? If someone could please tell me how that'd be much appreciated. Quote Link to comment Share on other sites More sharing options...
rockwood Posted June 8, 2023 Share Posted June 8, 2023 9 hours ago, Dustin Rohel said: How to turn debug on and off.?.? If someone could please tell me how that'd be much appreciated. in which engine? Quote Link to comment Share on other sites More sharing options...
Dayo Posted June 8, 2023 Share Posted June 8, 2023 $debug = true; ini_set('display_errors', $debug); ini_set('error_reporting', E_ALL ); McCodes dosen't have a built in error handler and used the default PHP one, you turn it on/off with the above code. (Please correct me if I'm wrong but i was pretty sure McCodes dosen't have one) 1 Quote Link to comment Share on other sites More sharing options...
peterisgb Posted June 8, 2023 Share Posted June 8, 2023 Mccodes does indeed have one, Head to lib/basic_error_handler.php and edit line 31. define('DEBUG', false); to define('DEBUG', true); 1 Quote Link to comment Share on other sites More sharing options...
Dustin Rohel Posted June 9, 2023 Author Share Posted June 9, 2023 thank you 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.