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

How to use gii in yii framework

(*-*)浩
(*-*)浩Original
2019-12-30 10:05:561935browse

How to use gii in yii framework

First add a sentence

'allowedIPs' => ['*'],

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!

Statement:
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