Diff for /accountex/www/download.php between versions 1.11 and 1.12

version 1.11, 2005/09/27 04:10:27 version 1.12, 2005/09/27 04:14:46
Line 1 Line 1
 <?php  <?php
 $dateiname = $_GET["datei"];  $dateiname = $_GET["datei"];
$dateipfad = "http://ftp.mozilla.org/pub/mozilla.org/extensions/accountex/";$dateipfad = "http://downloads.mozdev.org/accountex/";
   
 header("Cache-Control: must-revalidate, post-check=0, pre-check=0");  header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
 header("Content-type: application/x-xpinstall");  header("Content-type: application/x-xpinstall");
 header("Content-Length: " . filesize($dateipfad . $dateiname));  header("Content-Length: " . filesize($dateipfad . $dateiname));
 header("Content-Disposition: attachment; filename=" . $dateiname . "");  header("Content-Disposition: attachment; filename=" . $dateiname . "");
 readfile($dateipfad . $dateiname);  readfile($dateipfad . $dateiname);
?>?>
   

Removed from v.1.11  
changed lines
  Added in v.1.12


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>