add require and fix dirname
Merge branch 'master' of https://github.com/liuxiaoyue/express_fdserver