[Sabai] fix warning error on PHP>=5.4
support XOOPS_DB_TYPE: mysqli