I use codeigniter latest version. I am building an admin area where can choose to have site on maintenance mode.
The button will be radial. the will click save and will update settings.
What is the best way to create the controller for it. I still would like to be able to view website once logged in to website as I am the administrator.