Merge branch 'fixed-csv-export-events-secondary-groups-2' into 'develop'

Change the extension of CSV events file to .csv

See merge request artica/pandorafms!1463
This commit is contained in:
vgilc 2018-04-30 16:04:56 +02:00
commit ecaf360d9d
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ $now = date ("Y-m-d");
// Show contentype header
Header ("Content-type: text/txt");
header ('Content-Disposition: attachment; filename="pandora_export_event'.$now.'.txt"');
header ('Content-Disposition: attachment; filename="pandora_export_event'.$now.'.csv"');
echo "timestamp, agent, group, event, status, user, event_type, severity";
echo chr (13);