php - How to set default controller in Yii -


is there way specify default controller in yii? instead of using sitecontroller? thank in advance.

to set default controller homepage's controller on yii php-framework. must modify core defaults controller (site/index) on /protected/config/main.php

return array( 'name' => 'web application', 'defaultcontroller' => 'home ', ); 

Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

jquery - Making vertical list scroll on mouse over -

c++ - Accessing inactive union member and undefined behavior? -