Home > PHP Framework > YII > How to set the default access home page in yii

How to set the default access home page in yii

Release: 2019-12-07 10:52:18
Original
4185 people have browsed it

How to set the default access home page in yii

The method for yii to set the default access to the homepage is as follows:

Add

'defaultRoute' => ' in config->main.php login/index' //Controller/Method

How to set the default access home page in yii

Recommended: yii usage tutorial

The above is the detailed content of How to set the default access home page in yii. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
yii
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template