Diff for /annozilla/www/annozilla-update-test.rdf.php between versions 1.3 and 1.4

version 1.3, 2006/07/22 15:39:17 version 1.4, 2006/07/22 15:40:23
Line 1 Line 1
 <?php  <?php
   header('Content-type: application/rdf+xml');    header('Content-type: application/rdf+xml');
// calc an offset of 1 hour// calc an offset of 1 minute
  $offset = 3600;  $offset = 60;
 // calc the string in GMT not localtime and add the offset  // calc the string in GMT not localtime and add the offset
   $expire = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";    $expire = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";
 //output the HTTP header  //output the HTTP header

Removed from v.1.3  
changed lines
  Added in v.1.4


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