Browse Source

L'absence de ce exit semble bugger certaines configurations de PHP. Les exemples de la doc utilisent systématiquement exit avec un readfile.

svn/attic/spip-bonux-3/118152
p@henix.be 5 years ago
parent
commit
f5b4b9a0e2
  1. 1
      inc/exporter_csv.php

1
inc/exporter_csv.php

@ -98,6 +98,7 @@ function inc_exporter_csv_dist($titre, $resource, $delim = ',', $entetes = null,
ob_clean();
flush();
readfile($fichier);
exit;
}
return $fichier;

Loading…
Cancel
Save