|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50842 - website/public_html/beta/users/history
From: daniel_james_at_[hidden]
Date: 2009-01-28 08:05:15
Author: danieljames
Date: 2009-01-28 08:05:14 EST (Wed, 28 Jan 2009)
New Revision: 50842
URL: http://svn.boost.org/trac/boost/changeset/50842
Log:
Show the most recent entry in the minimal release notes if called without an entry id.
Text files modified:
website/public_html/beta/users/history/minimal.php | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: website/public_html/beta/users/history/minimal.php
==============================================================================
--- website/public_html/beta/users/history/minimal.php (original)
+++ website/public_html/beta/users/history/minimal.php 2009-01-28 08:05:14 EST (Wed, 28 Jan 2009)
@@ -2,6 +2,10 @@
require_once(dirname(__FILE__) . '/../../common/code/boost_feed.php');
$_history = new boost_feed(dirname(__FILE__) . '/../../feed/history.rss', '/users/history');
$_guid = basename($_SERVER["PATH_INFO"]);
+if(!$_guid) {
+ $keys = array_keys($_history->db);
+ $_guid = $keys[0];
+}
if(!isset($_history->db[$_guid])) {
header('HTTP/1.0 404 Not Found');
}
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