|
@@ -104,7 +104,7 @@ $aPageParams = array
|
|
'mandatory' => false,
|
|
'mandatory' => false,
|
|
'modes' => 'http,cli',
|
|
'modes' => 'http,cli',
|
|
'default' => ';',
|
|
'default' => ';',
|
|
- 'description' => 'column separator in CSV data',
|
|
|
|
|
|
+ 'description' => 'column separator in CSV data (1 char, or \'tab\')',
|
|
),
|
|
),
|
|
'qualifier' => array
|
|
'qualifier' => array
|
|
(
|
|
(
|
|
@@ -317,6 +317,11 @@ try
|
|
$sComment = ReadParam($oP, 'comment', 'raw_data');
|
|
$sComment = ReadParam($oP, 'comment', 'raw_data');
|
|
$sNoStopOnImportError = ReadParam($oP, 'no_stop_on_import_error');
|
|
$sNoStopOnImportError = ReadParam($oP, 'no_stop_on_import_error');
|
|
|
|
|
|
|
|
+ if (strtolower(trim($sSep)) == 'tab')
|
|
|
|
+ {
|
|
|
|
+ $sSep = "\t";
|
|
|
|
+ }
|
|
|
|
+
|
|
$oLoadStartDate = new DateTime(); // Now
|
|
$oLoadStartDate = new DateTime(); // Now
|
|
|
|
|
|
// Note about date formatting: These MySQL settings are read-only... and in fact unused :-(
|
|
// Note about date formatting: These MySQL settings are read-only... and in fact unused :-(
|