Home > PHP Framework > YII > How to use gii in yii framework

How to use gii in yii framework

(*-*)浩
Release: 2019-12-30 10:05:56
Original
1972 people have browsed it

How to use gii in yii framework

First add a sentence

'allowedIPs' => ['*'],
Copy after login

to main-local.php in the config file as shown below: (Recommended learning: Yii framework )

How to use gii in yii framework Open the main.php under the ProteCTD \ Config, and find the following code

How to use gii in yii framework

It was originally commented, now I need to remove the comment, and then change my password, as follows:

How to use gii in yii framework

Enter index.php?r=gii in the address bar. The gii login interface will open. Enter the password set in the previous step.

After entering, you can operate the Model Generator and Crud GeneratorHow to use gii in yii framework

The above is the detailed content of How to use gii in yii framework. 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