You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
699 B
28 lines
699 B
<?php |
|
|
|
Yii::setAlias('common', realpath(__DIR__ . '/../')); |
|
Yii::setAlias('frontend', realpath(__DIR__ . '/../../frontend')); |
|
Yii::setAlias('backend', realpath(__DIR__ . '/../../backend')); |
|
Yii::setAlias('console', realpath(__DIR__ . '/../../console')); |
|
|
|
return [ |
|
'adminEmail' => 'admin@example.com', |
|
'supportEmail' => 'support@example.com', |
|
|
|
'components.cache' => [ |
|
'class' => 'yii\caching\FileCache', |
|
], |
|
|
|
'components.mail' => [ |
|
'class' => 'yii\swiftmailer\Mailer', |
|
'viewPath' => '@common/mails', |
|
], |
|
|
|
'components.db' => [ |
|
'class' => 'yii\db\Connection', |
|
'dsn' => 'mysql:host=localhost;dbname=yii2advanced', |
|
'username' => 'root', |
|
'password' => '', |
|
'charset' => 'utf8', |
|
], |
|
];
|
|
|