fixes wrong requirement of PATHINFO_FILENAME
refined requirement of PATHINFO_FILENAME (doesn't work, though)
Merge pull request #156 from cmb69/pathinfo

fixes wrong requirement of PATHINFO_FILENAME