support XOOPS_DB_TYPE 'mysqli'
change default value of `file_upload_path`

to XOOPS_TRUST_PATH/uploads/$mydirname