Update CodeIgniter.php

require(APPPATH.'config/constants.php') should be in front of require(BASEPATH.'core/Common.php') because Common.php uses some constants defined in constants.php.
Merge pull request #2731 from josephok/develop

Update CodeIgniter.php