Use GBK charset only on older MySQL versions to avoid SQL injections (Issue #55)
Merge branch 'master' of https://github.com/electerious/Lychee
Fixed some php notices