adding offline/online switch to project

hi guys, i can think of this as many solutions but i really wounder how you guys doing it or what would be the best practice!?

to add project/system is offline for maintenance for example so prevent anyone from using it will it is offline to do some changes or upgrade…etc

something like “maintenance mode” what you have in mind? did anyone added this feature to his work?

Easy Peasy
Add a column to a table for maintenance mode
Set it to zero for non maint mode
On the login screen on scriptinit
Select the table column for main mode and if it is not equal to zero
Hide the login buttons

Can’t see buttons can’t login

Kevin

hi kdriscoll I thought about that, how if they are already logged in and working on the applications!

Stop apache before, and problem solved