Remove references to DOCUMENT_ROOT and use SCRIPT_FILENAME to get real path instead
Remove commented old code
Merge pull request #126 from moobyfr/integr

Fix pathing