I\'m doing a job for a guy with a site online. It\'s an alien site to me, and I\'m slowly working through the strange code. I have MAMP locally and my http://localhost/ has many
For the current process, you can just do
$_SERVER["document_root"] = "whatever";
Be careful though.