blobt
5 years ago
6 changed files with 158 additions and 2 deletions
-
23environments/skeleton/common/config/main-local.php
-
3environments/skeleton/common/config/params-local.php
-
7environments/skeleton/console/config/main-local.php
-
3environments/skeleton/console/config/params-local.php
-
3environments/skeleton/console/config/test-local.php
-
121init.php
@ -0,0 +1,23 @@ |
|||
<?php |
|||
|
|||
return [ |
|||
'components' => [ |
|||
'db' => [ |
|||
'class' => 'yii\db\Connection', |
|||
'dsn' => 'mysql:host=localhost;dbname=', |
|||
'username' => '', |
|||
'password' => '', |
|||
'charset' => 'utf8', |
|||
'enableSchemaCache' => true, |
|||
'schemaCacheDuration' => 86400, // time in seconds
|
|||
], |
|||
'mailer' => [ |
|||
'class' => 'yii\swiftmailer\Mailer', |
|||
'viewPath' => '@common/mail', |
|||
// send all mails to a file by default. You have to set
|
|||
// 'useFileTransport' to false and configure a transport
|
|||
// for the mailer to send real emails.
|
|||
'useFileTransport' => true, |
|||
], |
|||
], |
|||
]; |
@ -0,0 +1,3 @@ |
|||
<?php |
|||
return [ |
|||
]; |
@ -0,0 +1,7 @@ |
|||
<?php |
|||
return [ |
|||
'bootstrap' => ['gii'], |
|||
'modules' => [ |
|||
'gii' => 'yii\gii\Module', |
|||
], |
|||
]; |
@ -0,0 +1,3 @@ |
|||
<?php |
|||
return [ |
|||
]; |
@ -0,0 +1,3 @@ |
|||
<?php |
|||
return [ |
|||
]; |
Write
Preview
Loading…
Cancel
Save
Reference in new issue