#11171 Fix historical database with php 8.1
This commit is contained in:
parent
476b38c221
commit
d26ae96670
pandora_console/include/lib/Core
|
@ -156,6 +156,9 @@ final class DBMaintainer
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Problem with php 8.1.
|
||||||
|
mysqli_report(MYSQLI_REPORT_OFF);
|
||||||
|
|
||||||
$link = mysqli_init();
|
$link = mysqli_init();
|
||||||
$link->options(MYSQLI_OPT_CONNECT_TIMEOUT, 2);
|
$link->options(MYSQLI_OPT_CONNECT_TIMEOUT, 2);
|
||||||
$rc = mysqli_real_connect(
|
$rc = mysqli_real_connect(
|
||||||
|
|
Loading…
Reference in New Issue