Fix #1309 master

Add .gitignore to master
https://github.com/mybb/mybb/issues/1309