[Vtigercrm-developers] [PATCH 4.2.3] Import CSV files from pre-OSX MacOS

Mike Fedyk mfedyk at mikefedyk.com
Sat Feb 11 17:47:56 PST 2006


diff -dr -u vtiger-4.2.3-production/modules/Import/parse_utils.php 
vtiger-4.2.3-dbtest/modules/Import/parse_utils.php
--- vtiger-4.2.3-production/modules/Import/parse_utils.php    2006-01-13 
20:46:29.000000000 -0800
+++ vtiger-4.2.3-dbtest/modules/Import/parse_utils.php    2006-02-11 
10:38:17.000000000 -0800
@@ -20,6 +20,7 @@
 
 function parse_import($file_name,$delimiter,$max_lines,$has_header)
 {
+    ini_set('auto_detect_line_endings',1);
     $line_count = 0;
 
     $field_count = 0;




More information about the vtigercrm-developers mailing list