zitter
(Zitter)
1
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
x00xer
(Poidet)
2
edit your main.php config file
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'My Web Application',
'defaultController'=>'YouControllerName',
...