accept the php-api as well, so you don't neccessarily need to alter the config
somehow i need to have the full path here, or i'll run into trouble in relative_path_from in line 93
Merge pull request #4 from ccoenen/php-optional

The sinatra app will now respond to URLs ending in ".php"