add support for symlinked directory
Merge pull request #1 from coderhaoxin/master

add support for symlinked directory