mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#11171 Fix historical database with php 8.1
This commit is contained in:
parent
476b38c221
commit
d26ae96670
@ -156,6 +156,9 @@ final class DBMaintainer
|
||||
return true;
|
||||
}
|
||||
|
||||
// Problem with php 8.1.
|
||||
mysqli_report(MYSQLI_REPORT_OFF);
|
||||
|
||||
$link = mysqli_init();
|
||||
$link->options(MYSQLI_OPT_CONNECT_TIMEOUT, 2);
|
||||
$rc = mysqli_real_connect(
|
||||
|
Loading…
x
Reference in New Issue
Block a user