[Yii2] Activation de Gii.
1/ Activation de Gii.
Ouvrir :
common/config/main-local.php
Remplacer tout par :
[
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=gitgame',
'username' => 'root',
'password' => 'mot2passe',
'charset' => 'utf8',
],
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail',
],
],
'bootstrap' => ['gii'],
'modules' => [
'gii' => 'yii\gii\Module',
],
];
2/ Test depuis le backend.
http://backend.dev/index.php?r=gii

Comments are closed, but trackbacks and pingbacks are open.