Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
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
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
6535e34a
Commit
6535e34a
authored
Jun 07, 2017
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding some debug
parent
754b55d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
server.php
server.php
+10
-1
No files found.
server.php
View file @
6535e34a
...
...
@@ -95,6 +95,15 @@ try {
AND r.id_user = u.id"
;
$STH
=
$DBH
->
prepare
(
$query_emails
);
ob_start
();
$STH
->
debugDumpParams
();
$query
=
ob_end_clean
();
error_log
(
"query:
$query
"
);
$STH
->
execute
(
array
(
$mas_url
[
"scheme"
]
.
"://"
.
$mas_url
[
"host"
]));
if
(
$STH
->
rowCount
()
>
0
)
{
$email_users
=
array
();
...
...
@@ -144,7 +153,7 @@ if ($email_users) {
return
;
}
}
else
{
error_log
(
"No active users for
{
$mas_url
[
'host'
]
}
"
);
error_log
(
"No active users for
{
$mas_url
[
"scheme"
]
}
://
{
$mas_url
[
"host"
]
}
"
);
echoJsonData
(
array
(
'success'
=>
'false'
,
'message'
=>
$_language
[
$code_language
][
'error_support_site'
]));
return
;
}
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