Add compatibility with PHP 8.1

This commit is contained in:
Beu
2023-01-16 10:55:46 +01:00
parent 9959373343
commit d109acae5c
4 changed files with 5 additions and 3 deletions

View File

@ -9,6 +9,8 @@
// Enable error reporting
error_reporting(E_ALL);
// Change MySQLi report to match with policy before PHP 8.1
mysqli_report(MYSQLI_REPORT_OFF);
// Run configuration
define('LOG_NAME_USE_DATE', true); // Use current date as suffix for log file name in logs folder