well, with an editor like Ultraedit or similar, it's a very easy 1 click change...
"replace in files" *.php, including subdirs..
see if it works...

you can always revert back with the reverse replacement

this assumes that it's a php accessible $_SERVER variable, which i don't find on php.net @ 1st glance..