Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iwl-live
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Anthony.Suerte
iwl-live
Commits
8178a592
Commit
8178a592
authored
Aug 02, 2021
by
Antonio.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
To Return_URL data logging
parent
7805856a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
logic.php
logic/settlement/logic.php
+7
-3
No files found.
logic/settlement/logic.php
View file @
8178a592
...
...
@@ -100,7 +100,6 @@ class LogicSettlement extends SettlementModelClass {
* @return : なし
-------------------------------------------------------------------------*/
private
function
regist
()
{
if
(
$this
->
accessModify
(
'INSERT_TRANSFER_API'
,
$this
->
getRegistData
()))
{
// コミッションの登録(送金元)
...
...
@@ -204,15 +203,20 @@ class LogicSettlement extends SettlementModelClass {
if
(
isset
(
$_SERVER
[
'HTTP_REFERER'
]))
{
$referer
=
$this
->
sqlSanitation
(
$_SERVER
[
'HTTP_REFERER'
]);
}
// 転送をする
if
(
$url
!=
NO_STRING
&&
$file
==
NO_COUNT
&&
$result
==
NO_COUNT
)
{
// 正常終了
$this
->
accessModifyCommon
(
'INSERT_LOG_POST'
,
array
(
$ip
,
$referer
,
'[CALLBACK_SUCCESSFUL]'
.
$jsonData
));
// logs the data that will be passed
$this
->
accessModifyCommon
(
'INSERT_LOG_POST'
,
array
(
$ip
,
$referer
,
"[TO_RETURN_URL_DATA]
{
$data
}
"
));
$this
->
accessModifyCommon
(
'INSERT_LOG_POST'
,
array
(
$ip
,
$referer
,
"[CALLBACK_SUCCESSFUL]
{
$jsonData
}
"
));
header
(
'Location: '
.
$url
);
}
else
{
// 異常
$this
->
accessModifyCommon
(
'INSERT_LOG_POST'
,
array
(
$ip
,
$referer
,
'[CALLBACK_ERROR]'
.
$jsonData
));
$this
->
accessModifyCommon
(
'INSERT_LOG_POST'
,
array
(
$ip
,
$referer
,
"[CALLBACK_ERROR]
{
$jsonData
}
"
));
if
(
$failUrl
!=
NO_STRING
)
{
header
(
'Location: '
.
$failUrl
);
}
...
...
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