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

No comments:

Post a Comment

Featured Post

Install gammu on centos 7

To install Gammu on CentOS 7, follow these steps: 1. Update the system: Bash sudo yum update 2. Install dependencies: Bash sudo yum install...