Fix #1473

Wrong order of requiring files.
https://github.com/mybb/mybb/issues/1473