ctms/addons-ctms/config/db-local.php
fm453 39282ec584 修复登陆日志入库错误,升级部分composer依赖项;
临时修复登陆通知邮件不能多发的问题;
2025-04-10 23:19:15 +08:00

33 lines
937 B
PHP
Executable File

<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-15T21:33:17+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2024-06-29T16:38:03+08:00
# @Copyright: www.hiluker.cn
$config = [
'components' => [
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=sass',
'username' => 'sass',
'password' => 'ejxsrxZCP34xNjF2',
'charset' => 'utf8',
'tablePrefix' => '',
// 'attributes' => [PDO::ATTR_CASE => PDO::CASE_LOWER], //解决mysql8列值字母大小不一
],
'ac' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=ctms',
'username' => 'ctms',
'password' => 'bm2a7BrJzWN1nSsk',
'charset' => 'utf8',
'tablePrefix' => '',
],
],
];
return $config;