Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
citic-mdrt4
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c22cd27d
authored
May 20, 2021
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
5213af10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
Application/Common/Conf/config.php
+2
-2
Application/Common/Conf/db.php
+20
-20
No files found.
Application/Common/Conf/config.php
View file @
c22cd27d
...
...
@@ -13,8 +13,8 @@ return array(
'AUTH_CLIENT_ID'
=>
'zhida_app'
,
'AUTH_CLIENT_PASSWORD'
=>
'izhida'
,
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__'
=>
'http://cdn.iacode.cn/citic-mdrt4/v1.0.4/Public/static'
,
//
'__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
//
'__CDN__' => 'http://cdn.iacode.cn/citic-mdrt4/v1.0.4/Public/static',
'__CDN__'
=>
'/Public/static'
,
// @readme <-- 上线时修改这里
'URL_MODEL'
=>
3
,
'STORAGE_PATH'
=>
WEB_ROOT_PATH
.
'/Data/Storage'
,
'DEFAULT_FILTER'
=>
''
,
// 默认参数过滤方法 用于I函数...。注意这块不能修改!!!!
...
...
Application/Common/Conf/db.php
View file @
c22cd27d
<?php
return
array
(
'DB_TYPE'
=>
'mysqli'
,
'DB_HOST'
=>
'mysql-sh'
,
'DB_PORT'
=>
'3306'
,
'DB_NAME'
=>
'project_citic_20210430_mdrt4'
,
// <--- 修改这里
'DB_USER'
=>
'zhida'
,
// <--- 修改这里
'DB_PWD'
=>
'zhida_app_1212'
,
// <--- 修改这里
'DB_PREFIX'
=>
''
,
'DB_CHARSET'
=>
'utf8mb4'
,
//
return array(
//
'DB_TYPE' => 'mysqli',
//
'DB_HOST' => 'mysql-sh',
//
'DB_PORT' => '3306',
//
'DB_NAME' => 'project_citic_20210430_mdrt4', // <--- 修改这里
//
'DB_USER' => 'zhida', // <--- 修改这里
//
'DB_PWD' => 'zhida_app_1212', // <--- 修改这里
//
'DB_PREFIX' => '',
//
'DB_CHARSET' => 'utf8mb4',
);
//
);
//
return array(
//
'DB_TYPE' => 'mysqli',
//
'DB_HOST' => 'mariadb',
//
'DB_PORT' => '3306',
//
'DB_NAME' => 'dev_citic_20210429_mdrt4', // <--- 修改这里
//
'DB_USER' => 'dev', // <--- 修改这里
//
'DB_PWD' => '1q2w3e', // <--- 修改这里
//
'DB_PREFIX' => '',
//
'DB_CHARSET' => 'utf8mb4',
return
array
(
'DB_TYPE'
=>
'mysqli'
,
'DB_HOST'
=>
'mariadb'
,
'DB_PORT'
=>
'3306'
,
'DB_NAME'
=>
'dev_citic_20210429_mdrt4'
,
// <--- 修改这里
'DB_USER'
=>
'dev'
,
// <--- 修改这里
'DB_PWD'
=>
'1q2w3e'
,
// <--- 修改这里
'DB_PREFIX'
=>
''
,
'DB_CHARSET'
=>
'utf8mb4'
,
//
);
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment