Loading…

How we can set default controller in Yii?

You can set the default controller file through (protected/config/main.php).
array(
    'name'=>'Yii Framework',
    'defaultController'=>'site',
)

Suggest An Answer

No suggestions avaliable!

Latest post from YII Interview Questions

Ask Question