Skip to content
Snippets Groups Projects
Commit ea0964d1 authored by Charles Benke's avatar Charles Benke
Browse files

Update export.class.php

add specific choice of prefix for export (usefull with many dolibarr exporting data)
parent 209f8946
No related branches found
No related tags found
No related merge requests found
......@@ -524,7 +524,10 @@ class Export
if ($resql)
{
//$this->array_export_label[$indice]
$filename="export_".$datatoexport;
if ($conf->global->EXPORT_PREFIX)
$filename=$conf->global->EXPORT_PREFIX_SPEC."_".$datatoexport;
else
$filename="export_".$datatoexport;
$filename.='.'.$objmodel->getDriverExtension();
$dirname=$conf->export->dir_temp.'/'.$user->id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment