Update loader.php

should use SCRIPT_FILENAME instead of PHP_SELF to always get full absolute path.
Merge pull request #460 from DarkSide666/patch-8

Update loader.php