diff --git a/environments/skeleton/common/config/main-local.php b/environments/skeleton/common/config/main-local.php new file mode 100644 index 0000000..33b57c2 --- /dev/null +++ b/environments/skeleton/common/config/main-local.php @@ -0,0 +1,23 @@ + [ + '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, + ], + ], +]; diff --git a/environments/skeleton/common/config/params-local.php b/environments/skeleton/common/config/params-local.php new file mode 100644 index 0000000..d0b9c34 --- /dev/null +++ b/environments/skeleton/common/config/params-local.php @@ -0,0 +1,3 @@ + ['gii'], + 'modules' => [ + 'gii' => 'yii\gii\Module', + ], +]; diff --git a/environments/skeleton/console/config/params-local.php b/environments/skeleton/console/config/params-local.php new file mode 100644 index 0000000..d0b9c34 --- /dev/null +++ b/environments/skeleton/console/config/params-local.php @@ -0,0 +1,3 @@ + \ No newline at end of file