Fix per php8.1

This commit is contained in:
Pek5892 2024-04-17 11:44:13 +02:00
parent 4152b51b83
commit b3d8779005
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ abstract class CSVImporter implements ImporterInterface
public function __construct($file)
{
// Impostazione automatica per i caratteri di fine riga
if (!ini_get('auto_detect_line_endings')) {
ini_set('auto_detect_line_endings', '1');
if (!ini_get('default_socket_timeout')) {
ini_set('default_socket_timeout', '0');
}
// Gestione del file CSV