Subversion Repositories Applications.projet

Compare Revisions

Ignore whitespace Rev 291 → Rev 292

/trunk/services/telechargement.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: telechargement.php,v 1.3 2007-10-10 13:58:04 alexandre_tb Exp $
// CVS : $Id: telechargement.php,v 1.4 2008-08-25 15:00:10 alexandre_tb Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.3 $
*@version $Revision: 1.4 $
// +------------------------------------------------------------------------------------------------------+
*/
 
87,8 → 87,8
$nom_de_fichier = pathinfo ($projet->getNomRepertoire().'/'.$document->getChemin()) ;
$extension = $nom_de_fichier['extension'];
 
header('Expires: Wen, 01 Dec 1999 01:00:00 GMT');// Date du passé
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');// toujours modifié
header('Expires: Wen, 01 Dec 1999 01:00:00 GMT');// Date du passe
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');// toujours modifie
header('Cache-Control: Public, must-revalidate');// HTTP/1.1
header('Pragma: hack');
header ('Content-Type: '.$document->getTypeMime()) ;