Fixed $_SERVER ref and absolute paths
Merge pull request #2 from fergusean/master

Fixed!