Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tommaso Perondi
ISPConfig 3
Commits
7d41f01a
Commit
7d41f01a
authored
Oct 16, 2019
by
Till Brehm
Browse files
Fixed #5429 Wrong class variable in server/lib/classes/db_mysql.inc.php LINE 275
parent
5d261ed7
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/db_mysql.inc.php
View file @
7d41f01a
...
...
@@ -272,7 +272,7 @@ class db
if
(
!
is_object
(
$this
->
_iConnId
))
{
$this
->
_iConnId
=
mysqli_init
();
}
if
(
!
mysqli_real_connect
(
$this
->
_i
s
ConnId
,
$this
->
dbHost
,
$this
->
dbUser
,
$this
->
dbPass
,
$this
->
dbName
,
(
int
)
$this
->
dbPort
,
NULL
,
$this
->
dbClientFlags
))
{
if
(
!
mysqli_real_connect
(
$this
->
_iConnId
,
$this
->
dbHost
,
$this
->
dbUser
,
$this
->
dbPass
,
$this
->
dbName
,
(
int
)
$this
->
dbPort
,
NULL
,
$this
->
dbClientFlags
))
{
if
(
mysqli_connect_errno
()
==
'111'
)
{
// server is not available
if
(
$try
>
9
)
{
...
...
server/lib/classes/db_mysql.inc.php
View file @
7d41f01a
...
...
@@ -272,7 +272,7 @@ class db
if
(
!
is_object
(
$this
->
_iConnId
))
{
$this
->
_iConnId
=
mysqli_init
();
}
if
(
!
mysqli_real_connect
(
$this
->
_i
s
ConnId
,
$this
->
dbHost
,
$this
->
dbUser
,
$this
->
dbPass
,
$this
->
dbName
,
(
int
)
$this
->
dbPort
,
NULL
,
$this
->
dbClientFlags
))
{
if
(
!
mysqli_real_connect
(
$this
->
_iConnId
,
$this
->
dbHost
,
$this
->
dbUser
,
$this
->
dbPass
,
$this
->
dbName
,
(
int
)
$this
->
dbPort
,
NULL
,
$this
->
dbClientFlags
))
{
if
(
mysqli_connect_errno
()
==
'111'
)
{
// server is not available
if
(
$try
>
9
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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