error when $_SERVER['SCRIPT_NAME'] does not exist
Merge pull request #1 from djaney/master

error when $_SERVER['SCRIPT_NAME'] does not exist