Commit bd477ae7 authored by rlgy's avatar rlgy

log

parent bed5ee8e
......@@ -56,23 +56,6 @@ return [
'password' => '123456',
'charset' => 'utf8',
],
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail',
'useFileTransport' => false,
'transport' => [
'class' => 'Swift_SmtpTransport',
'host' => 'smtp.163.com',
'username' => 'risk_admin@163.com',//Fuzamei2017
'password' => 'riskadmin163',
'port' => 25,
'encryption' => 'tls',
],
'messageConfig' => [
'charset' => 'UTF-8',
'from' => ['risk_admin@163.com' => '管理后台系统']
],
],
'cache' => [
'class' => 'yii\redis\Cache',
'redis' => [
......@@ -115,6 +98,11 @@ return [
'baseuri' => 'http://127.0.0.1:8082/admin/upload',
'absolute' => dirname(dirname(__DIR__)) . '/backend/web/upload',
],
'log' => [
[
'class' => 'yii\log\FileTarget',
],
]
],
/**
* 通过配置文件附加行为,全局
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment