Autoloading Classes With Extension .inc

Hi

I am using a library which has its classes as .inc instead of *.php files.

I am getting error that file can’t be found.

Error happens at YiiBase::autoload line 421




                            break;

417                         }

418                     }

419                 }

420                 else

421                     include($className.'.php');

422             }

423             else  // class name with namespace in PHP 5.3

424             {

425                 $namespace=str_replace('\\','.',ltrim($className,'\\'));

426                 if(($path=self::getPathOfAlias($namespace))!==false)



How I can make sure that yii search for .inc files as well and not only *.php

If I use that library without Yii then it is working fine.

Thanks