<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2011 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
{
$pids = $this->set->getIds(new PlLimit());
$visibility = new ProfileVisibility(ProfileVisibility::VIS_AX);
- pl_content_headers('text/x-csv');
+ pl_cached_content_headers('text/x-csv', 1);
$csv = fopen('php://output', 'w');
fputcsv($csv, array('adresses'), ';');