WordPress has this thing that examines whether it has been set up (installed) on the server and if it’s not, it takes the visitor to a “install” page. I need to have something like that in a system I’m building.
I need to store a boolean value on the server.
What would be the most elegant / lightweight approach?
You could create a semaphore, where you just create an empty file, and then you just check if the file exists as your TRUE value.