Class Autoload Fails Because Include Path Fails

On my localhost, everything works fine. But I think on a server, they disabled include path modification. So I’d like to know how to resolve this problem.

Yii is inside


/etc/lib/yii

My project is inside


/public_html/

And in YiiBase.php,


self::$_includePaths

doesn’t contain the path to directory “model” and “component” as defined in the config file main.php