Change the extension of CSV events file to .csv

This commit is contained in:
fermin831 2018-04-30 15:55:15 +02:00
parent af19eb2037
commit 7162241ef9
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);