Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
477d7b0a
Commit
477d7b0a
authored
Feb 02, 2019
by
chenchuanwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refund
parent
8f553648
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Abstract.php
application/library/Our/Controller/Abstract.php
+1
-1
application.ini
conf/application.ini
+4
-4
No files found.
application/library/Our/Controller/Abstract.php
View file @
477d7b0a
...
...
@@ -14,7 +14,7 @@ abstract class Controller_Abstract extends \Yaf\Controller_Abstract {
if
(
$version
){
define
(
'CURRENTVERSION'
,
$version
);
}
else
{
define
(
'CURRENTVERSION'
,
\Our\NameConst
::
version
Default
);
define
(
'CURRENTVERSION'
,
\Our\NameConst
::
version
One
);
}
}
...
...
conf/application.ini
View file @
477d7b0a
...
...
@@ -285,7 +285,7 @@ elastic.master.scheme="http";
[ccwdevelop : common]
; 数据库配置
resources.database.params.driver
=
"pdo_mysql"
resources.database.params.hostname
=
"1
72.18.0.3
"
resources.database.params.hostname
=
"1
27.0.0.1
"
resources.database.params.port
=
3306
resources.database.params.database
=
"qmcs"
resources.database.params.username
=
"root"
...
...
@@ -295,7 +295,7 @@ resources.database.params.driver_options.1002 = "SET NAMES utf8"
; 从库配置
resources.database.slave.params.driver
=
"pdo_mysql"
resources.database.slave.params.hostname
=
"1
72.18.0.3
"
resources.database.slave.params.hostname
=
"1
27.0.0.1
"
resources.database.slave.params.port
=
3306
resources.database.slave.params.database
=
"qmcs"
resources.database.slave.params.username
=
"root"
...
...
@@ -316,10 +316,10 @@ resources.database.mongo.params.driver_options.1002 = "SET NAMES utf8"
password.key
=
'~!@#$`1234qwertasdfgzxcvb'
;
redis.database.params.host
=
"1
72.18.0.6
"
redis.database.params.host
=
"1
27.0.0.1
"
redis.database.params.port
=
"6379"
redis.database.params.prefix
=
"qm_"
redis.database.params.password
=
"
23456ertyu
"
redis.database.params.password
=
""
out.config
=
"/data/config"
;
;锁文件
...
...
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