fix base_dir test with psgi
Merge branch 'master' of github.com:ytnobody/Nephia