philsturgeon/codeigniter-restserver — pull request #85 by linuxjuggler (2012-01-25 21:54:34+00:00)
Title: checking if the apache_request_headers function is exists

since the apache_request_headers function will work only if php was installed as apache mod, 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 ..