Add support for using a CodeIgniter app as document root.