So when you say "Change it", are you meaning change the value and save it? So if I save it then that would be a permanent change in the database until its changed and saved again?
If that is what you are suggesting, that not what I need to happen. I don't want to change the values in the database. Just in runtime if I am running the site on a staging server and don't have a SSL cert installed those pages that require SSL would fail.
So is that even possible?