Fix $PHP_SELF so it works in subdirectories (the use basename() produced invalid links when viewing pages in the ext/ directory)
Merge pull request #52 from haraldpdl/php_self

Fix $PHP_SELF so it works in subdirectories (the use basename() produced...