Dustin Rohel Posted June 8, 2023 Posted June 8, 2023 How to turn debug on and off.?.? If someone could please tell me how that'd be much appreciated. Quote
rockwood Posted June 8, 2023 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
Dayo Posted June 8, 2023 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
peterisgb Posted June 8, 2023 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
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.