I've gone through all cookbook articles and docs and just don't get it - how do I extend CWebApplication?
I have created a new class 'MyWebApplication' that extends CWebApplication and stored it in protected/components
I have modified index.php, so it includes my custom yii.php, which extends YiiBase and has createWebApplication overriden:
public static function createWebApplication($config=null)
{
return self::createApplication('MyWebApplication',$config);
}
But now I get this error:
Warning: YiiBase::include(MyWebApplication.php) [function.YiiBase-include]: failed to open stream...

Help













