Page 1 of 1

Maintenance and Debug modes

Posted: Sat Feb 10, 2024 3:19 am
by ethanlazarus

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!


Re: Maintenance and Debug modes

Posted: Wed Feb 21, 2024 6:05 am
by philmills

+1

I 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.


Re: Maintenance and Debug modes

Posted: Mon Apr 08, 2024 9:20 pm
by vintoICT

I think the best option is to have it in the database and editable by a simple switch button


Re: Maintenance and Debug modes

Posted: Fri Apr 26, 2024 11:50 pm
by philmills

yes, even better +1
I have actually done that with a settings table and global vars