hide .git and add 3rd param on preg_match_all to prevent warning msg
Merge pull request #1 from mdennisa/master

hide .git , add 3rd param in preg_match_all