ctms/admins/config/db.php
2025-04-10 23:19:13 +08:00

24 lines
499 B
PHP
Executable File

<?php
/**
* @Author: fm453
* @Date: 2021-09-09 10:32:33
* @Last Modified by: fm453
* @Last Modified time: 2021-09-09 10:41:57
* @Email: fm453@lukegzs.com
*/
$config = [
'components' => [
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=dacms',
'username' => 'dacms',
'password' => 'eydnsidc',
'charset' => 'utf8',
'tablePrefix' => '',
],
],
];
return $config;