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 -

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

JAVA - what is the difference between void and boolean methods? -