mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-22 19:31:02 +08:00
21 lines
516 B
PHP
21 lines
516 B
PHP
<?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',
|
|
],
|
|
];
|