It would be great if we could enable and disable maintenance modes and debug modes with regenerating all the code. This takes a long time to regenerate and upload from test server to production server - it would be great if this could be done dynamically, perhaps when logged in as system admin. It would save a ton of time during development and early deployment.Thanks for considering!
+1I think it would be more sensible if the debug setting was in config_production.php and config_development.php, rather than in config.php
so switching between the two would automatically turn debug on and off.
I think the best option is to have it in the database and editable by a simple switch button
yes, even better +1
I have actually done that with a settings table and global vars
Try v2025, read Configuration Files.