diff --git a/src/Exporter/CSVExporter.php b/src/Exporter/CSVExporter.php index d4e69f487..3aa49ea8b 100644 --- a/src/Exporter/CSVExporter.php +++ b/src/Exporter/CSVExporter.php @@ -34,8 +34,8 @@ abstract class CSVExporter implements ExporterInterface 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_php_streams.auto_detect_line_endings')) { + ini_set('default_php_streams.auto_detect_line_endings', '1'); } // Gestione del file CSV