Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
chinaamc-2020flag
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dccae876
authored
Jan 07, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
727f771b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
Application/Common/Conf/config.php
+3
-3
Application/Common/Conf/db.php
+15
-15
No files found.
Application/Common/Conf/config.php
View file @
dccae876
...
@@ -13,8 +13,8 @@ return array(
...
@@ -13,8 +13,8 @@ return array(
'AUTH_CLIENT_ID'
=>
'zhida_app'
,
'AUTH_CLIENT_ID'
=>
'zhida_app'
,
'AUTH_CLIENT_PASSWORD'
=>
'izhida'
,
'AUTH_CLIENT_PASSWORD'
=>
'izhida'
,
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__'
=>
'https://static3.izhida.cn/cdn1/samsung-christmas/v1.0.7'
,
//
'__CDN__' => 'https://static3.izhida.cn/cdn1/samsung-christmas/v1.0.7',
//
'__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'__CDN__'
=>
'/Public/static'
,
// @readme <-- 上线时修改这里
'URL_MODEL'
=>
3
,
'URL_MODEL'
=>
3
,
'STORAGE_PATH'
=>
WEB_ROOT_PATH
.
'/Data/Storage'
,
'STORAGE_PATH'
=>
WEB_ROOT_PATH
.
'/Data/Storage'
,
'DEFAULT_FILTER'
=>
''
,
// 默认参数过滤方法 用于I函数...。注意这块不能修改!!!!
'DEFAULT_FILTER'
=>
''
,
// 默认参数过滤方法 用于I函数...。注意这块不能修改!!!!
...
@@ -23,7 +23,7 @@ return array(
...
@@ -23,7 +23,7 @@ return array(
'ERROR_PAGE'
=>
'/50x.html'
,
'ERROR_PAGE'
=>
'/50x.html'
,
'SITE_URL'
=>
'https://'
.
(
isset
(
$_SERVER
[
'HTTP_HOST'
])
?
$_SERVER
[
'HTTP_HOST'
]
:
'moli.gnhj.izhida.cn'
),
'SITE_URL'
=>
'https://'
.
(
isset
(
$_SERVER
[
'HTTP_HOST'
])
?
$_SERVER
[
'HTTP_HOST'
]
:
'moli.gnhj.izhida.cn'
),
'PUBLISH_MODE'
=>
'
production
'
,
// development,test,production
'PUBLISH_MODE'
=>
'
development
'
,
// development,test,production
...
...
Application/Common/Conf/db.php
View file @
dccae876
<?php
<?php
return
array
(
'DB_TYPE'
=>
'mysql'
,
'DB_HOST'
=>
'izhidaicbc2.mysql.rds.aliyuncs.com'
,
'DB_PORT'
=>
'3306'
,
'DB_NAME'
=>
'project_samsung_20191223_christmas'
,
// <--- 修改这里
'DB_USER'
=>
'zhida'
,
// <--- 修改这里
'DB_PWD'
=>
'zhida_app_1212'
,
// <--- 修改这里
'DB_PREFIX'
=>
''
,
'DB_CHARSET'
=>
'utf8mb4'
,
);
// return array(
// return array(
// 'DB_TYPE' => 'mysql',
// 'DB_TYPE' => 'mysql',
//
'DB_HOST' => 'localhost
',
//
'DB_HOST' => 'izhidaicbc2.mysql.rds.aliyuncs.com
',
// 'DB_PORT' => '3306',
// 'DB_PORT' => '3306',
//
'DB_NAME' => 'dev_samsung_20191217
_christmas', // <--- 修改这里
//
'DB_NAME' => 'project_samsung_20191223
_christmas', // <--- 修改这里
//
'DB_USER' => 'dev
', // <--- 修改这里
//
'DB_USER' => 'zhida
', // <--- 修改这里
//
'DB_PWD' => '1q2w3e
', // <--- 修改这里
//
'DB_PWD' => 'zhida_app_1212
', // <--- 修改这里
// 'DB_PREFIX' => '',
// 'DB_PREFIX' => '',
// 'DB_CHARSET' => 'utf8mb4',
// 'DB_CHARSET' => 'utf8mb4',
// );
// );
return
array
(
'DB_TYPE'
=>
'mysql'
,
'DB_HOST'
=>
'localhost'
,
'DB_PORT'
=>
'3306'
,
'DB_NAME'
=>
''
,
// <--- 修改这里
'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