Change Landing Page Yii Framework

In certain conditions, we want the first page of our application do directly into actual applications, but we want to explain in detail the application.
To do that we can redirect the application to a specific page by changing main.php at the directory config.


'defaultController' ='controller/action',

Example :
  
return array(
      ...
      'defaultController'=>home/index,
      ... 
 


);


Thx

Comments

Popular posts from this blog

Fail Running Glassfish server on port 8080