添加环境变量目录
parent
d9f826cf12
commit
405885e99f
@ -1,3 +1,4 @@
|
||||
.svn/
|
||||
Runtime/
|
||||
Uploads/
|
||||
Uploads/
|
||||
Application/Common/env.php
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'DB_TYPE' => 'mysql', // 数据库类型
|
||||
'DB_HOST' => '127.0.0.1', // 服务器地址
|
||||
'DB_NAME' => 'platform', // 数据库名
|
||||
'DB_USER' => 'root', // 用户名
|
||||
'DB_PWD' => 'root', // 密码
|
||||
'DB_PORT' => '3306', // 端口
|
||||
'DB_PREFIX' => 'sys_', // 数据库表前缀
|
||||
|
||||
/* UC数据库配置 */
|
||||
'DB_CONFIG2' => 'mysql://asdasd:asdasd@192.168.2.199:3306/db_h5',
|
||||
'DB_CONFIG3' => 'mysql://asdasd:asdasd@192.168.2.199:3306/db_xgyy',
|
||||
];
|
Loading…
Reference in New Issue