Please sign in to comment.
Make directory check portable (#332)
* Make directory check portable The current function did not work properly on Windows as there is a mismatch on slashes between what was returned by dirname and document_root. * Fix ending slash dirname is always a dir ending with slash while DOCUMENT_ROOT seems to avoid the last slash, so just adding + 1 to the substr should be enough to remove it.
- Loading branch information...