philsturgeon/codeigniter-restserver — comment on commit 0cf245a6e60ad913b6efbf310cf01268505de5c7
File:  line 0
By linuxjuggler:

since the apache_request_headers function will work only if php was installed as apache mod ( http://php.net/manual/en/function.apache-request-headers.php check the change log ), i had a problem on the live server
so i have change it a bit to check if its exist or not ..
if its not found use the getenv() function instead ..

am not sure if my code is right, but it solved my problem ..
check this commit ( https://github.com/linuxjuggler/codeigniter-restserver/commit/fc1d9a8022f4a0f558eb5ddd960e2571f2fb30a1 )
i tried to make a patch but i dont know how to do so , and the pull will take all my commits , and you just need this one .. sorry