[eluser]adekenny[/eluser]
I just changed that line of code to what you posted and i got the message shown below:
Fatal error: Call to undefined function is_php() in /home/divycoll/public_html/system/codeigniter/CodeIgniter.php on line 46
Maybe i should just upgrade my version of Codeigniter to version 2.1.0 if there's no solution.