Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61987 - website/public_html/beta/common/code
From: daniel_james_at_[hidden]
Date: 2010-05-15 06:48:48


Author: danieljames
Date: 2010-05-15 06:48:47 EDT (Sat, 15 May 2010)
New Revision: 61987
URL: http://svn.boost.org/trac/boost/changeset/61987

Log:
Add last modified header.
Text files modified:
   website/public_html/beta/common/code/boost_archive.php | 13 +++++++++++++
   1 files changed, 13 insertions(+), 0 deletions(-)

Modified: website/public_html/beta/common/code/boost_archive.php
==============================================================================
--- website/public_html/beta/common/code/boost_archive.php (original)
+++ website/public_html/beta/common/code/boost_archive.php 2010-05-15 06:48:47 EDT (Sat, 15 May 2010)
@@ -79,6 +79,19 @@
         return;
     }
 
+ // Check zipfile.
+
+ if (!is_file($archive_location_details['archive'])) {
+ file_not_found($archive_location_details['file'],
+ 'Unable to find zipfile.');
+ return;
+ }
+
+ header('last-modified:'. date(DATE_RFC2822,
+ filemtime($archive_location_details['archive'])));
+
+ // Extract the file from the zipfile
+
     $unzip =
       UNZIP
       .' -p '.escapeshellarg($archive_location_details['archive'])


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk