Question

I'm just wondering is there a specific link or piece of code I can use to create a launch button for launching the website i.e taking it out of maintenance mode?

Was it helpful?

Solution

You could find the flag in the database which is either 1 or 0 depending on whether maintenance mode is enabled or not.

You could then write a script and put it on a page which allows a button press to change the flag status in the database, thus putting the site online.

i.e.

PHP page (presumably behind a password wall) which contains a form with a submit button to a PHP script, which contains a mySQL UPDATE query to change the flag status.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top