Initial commit,修正

This commit is contained in:
2025-07-13 19:37:38 +08:00
parent 38ce288e27
commit 65bbd06981
12384 changed files with 3985464 additions and 8 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
/**
* @Author: fm453
* @Date: 2021-09-10 17:49:31
* @Last Modified by: fm453
* @Last Modified time: 2021-09-10 17:52:20
* @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' => '',
'attributes' => [
// use a smaller connection timeout
PDO::ATTR_TIMEOUT => 10,
//使用长链接
PDO::ATTR_PERSISTENT => false,
],
],
],
];
return $config;