Hotfixed to support mysqli connections in addition to mysql connections.
Merge pull request #1 from crowdfavorite/mysqli-hotfix

Hotfixed to support mysqli connections in addition to mysql connections.