Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
Project
Project
Details
Activity
Releases
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
bp
goods
Commits
12c45840
Commit
12c45840
authored
Sep 01, 2021
by
pengfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 团长分销-增加默认server addr
parent
d7e90a2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
cli.php
public/cli.php
+3
-0
job.php
public/job.php
+3
-0
No files found.
public/cli.php
View file @
12c45840
...
...
@@ -35,6 +35,9 @@ if ($param) {
$_SERVER
[
'SERVER_NAME'
]
=
'daemon.goods'
;
$_SERVER
[
'REMOTE_ADDR'
]
=
'127.0.0.1'
;
if
(
empty
(
$_SERVER
[
'SERVER_ADDR'
]))
{
$_SERVER
[
'SERVER_ADDR'
]
=
'azkaban-127.0.0.1'
;
}
$application
->
bootstrap
()
->
getDispatcher
()
->
dispatch
(
new
Yaf\Request\Simple
(
""
,
$module
,
$controller
,
$method
,
$param
));
...
...
public/job.php
View file @
12c45840
...
...
@@ -35,6 +35,9 @@ if ($param) {
$_SERVER
[
'SERVER_NAME'
]
=
'job.goods'
;
$_SERVER
[
'REMOTE_ADDR'
]
=
'127.0.0.1'
;
if
(
empty
(
$_SERVER
[
'SERVER_ADDR'
]))
{
$_SERVER
[
'SERVER_ADDR'
]
=
'azkaban-127.0.0.1'
;
}
$application
->
bootstrap
()
->
getDispatcher
()
->
dispatch
(
new
Yaf\Request\Simple
(
""
,
$module
,
$controller
,
$method
,
$param
));
...
...
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