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
84f24652
authored
Apr 30, 2021
by
kubisk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
de9c2e42
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
Application/Common/Conf/config.php
+2
-2
Application/Common/Conf/db.php
+16
-16
No files found.
Application/Common/Conf/config.php
View file @
84f24652
...
...
@@ -13,8 +13,8 @@ return array(
'AUTH_CLIENT_ID'
=>
'zhida_app'
,
'AUTH_CLIENT_PASSWORD'
=>
'izhida'
,
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
// '__CDN__' => 'https://static3.izhida.cn/cdn1/citic-mdrt3/v1.0.1
',
'__CDN__'
=>
'/Public/static'
,
// @readme <-- 上线时修改这里
'__CDN__'
=>
'https://static3.izhida.cn/cdn1/citic-mdrt4/v1.0.0
'
,
//
'__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL'
=>
3
,
'STORAGE_PATH'
=>
WEB_ROOT_PATH
.
'/Data/Storage'
,
'DEFAULT_FILTER'
=>
''
,
// 默认参数过滤方法 用于I函数...。注意这块不能修改!!!!
...
...
Application/Common/Conf/db.php
View file @
84f24652
<?php
// return array(
// 'DB_TYPE' => 'mysql',
// 'DB_HOST' => 'izhidaicbc2.mysql.rds.aliyuncs.com',
// 'DB_PORT' => '3306',
// 'DB_NAME' => 'project_citic_20210413_mdrt3', // <--- 修改这里
// 'DB_USER' => 'zhida', // <--- 修改这里
// 'DB_PWD' => 'zhida_app_1212', // <--- 修改这里
// 'DB_PREFIX' => '',
// 'DB_CHARSET' => 'utf8mb4',
// );
return
array
(
'DB_TYPE'
=>
'mysqli'
,
'DB_HOST'
=>
'mariadb
'
,
'DB_HOST'
=>
'izhidaicbc2.mysql.rds.aliyuncs.com
'
,
'DB_PORT'
=>
'3306'
,
'DB_NAME'
=>
'dev_citic_20210429
_mdrt4'
,
// <--- 修改这里
'DB_USER'
=>
'dev
'
,
// <--- 修改这里
'DB_PWD'
=>
'1q2w3e
'
,
// <--- 修改这里
'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',
// );
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