Fix #1473

Wrong order of requiring files.
https://github.com/mybb/mybb/issues/1473
Merge pull request #1513 from Destroy666x/fix1473

Fix #1473