Home >PHP Framework >YII >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 )
Open the main.php under the ProteCTD \ Config, and find the following code
It was originally commented, now I need to remove the comment, and then change my password, as follows:
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 Generator
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!