Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Massimiliano
ISPConfig 3
Commits
ded71be4
Commit
ded71be4
authored
Jan 09, 2018
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed LOGLEVEL_INFO to LOGLEVEL_DEBUG in db_mysql.inc.php
parent
0ce3c7b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
interface/lib/classes/db_mysql.inc.php
interface/lib/classes/db_mysql.inc.php
+2
-2
No files found.
interface/lib/classes/db_mysql.inc.php
View file @
ded71be4
...
...
@@ -472,7 +472,7 @@ class db {
public
function
escape
(
$sString
)
{
global
$app
;
if
(
!
is_string
(
$sString
)
&&
!
is_numeric
(
$sString
))
{
$app
->
log
(
'NON-String given in escape function! ('
.
gettype
(
$sString
)
.
')'
,
LOGLEVEL_
INFO
);
$app
->
log
(
'NON-String given in escape function! ('
.
gettype
(
$sString
)
.
')'
,
LOGLEVEL_
DEBUG
);
//$sAddMsg = getDebugBacktrace();
$app
->
log
(
$sAddMsg
,
LOGLEVEL_DEBUG
);
$sString
=
''
;
...
...
@@ -481,7 +481,7 @@ class db {
$cur_encoding
=
mb_detect_encoding
(
$sString
);
if
(
$cur_encoding
!=
"UTF-8"
)
{
if
(
$cur_encoding
!=
'ASCII'
)
{
if
(
is_object
(
$app
)
&&
method_exists
(
$app
,
'log'
))
$app
->
log
(
'String '
.
substr
(
$sString
,
0
,
25
)
.
'... is '
.
$cur_encoding
.
'.'
,
LOGLEVEL_
INFO
);
if
(
is_object
(
$app
)
&&
method_exists
(
$app
,
'log'
))
$app
->
log
(
'String '
.
substr
(
$sString
,
0
,
25
)
.
'... is '
.
$cur_encoding
.
'.'
,
LOGLEVEL_
DEBUG
);
if
(
$cur_encoding
)
$sString
=
mb_convert_encoding
(
$sString
,
'UTF-8'
,
$cur_encoding
);
else
$sString
=
mb_convert_encoding
(
$sString
,
'UTF-8'
);
}
...
...
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