Change default Controller

Hi all, is there a way to change default Controller from "SiteController" to "MyController"?.

I’ve seen that in yiilite.php there is a public defaultController=‘site’; maybe I have to put public defaultController=‘mycontroller’ to index.php?

TIA

Danilo

edit your main.php config file


return array(

	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',

	'name'=>'My Web Application',

	'defaultController'=>'YouControllerName',

...

thanks x00xer