Check first that $_SERVER['REQUEST_URI'] isset and is not empty
Merge pull request #242 from acidvertigo/patch-28

Check first that $_SERVER['REQUEST_URI'] isset and is not empty