Fixing CodeIgniter detection.