Kaosweaver - fair point. I didn't realize centOS wouldn't support that.
My initial reaction was that it is the same way that it was done in CI3, but I just glanced back and remembered it was moved into the CodeIgniter app. It looks like the best solution here would be to move the environment check back to the index file.