|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84577 - in website/public_html/beta: common/code doc
From: dnljms_at_[hidden]
Date: 2013-05-31 14:41:22
Author: danieljames
Date: 2013-05-31 14:41:21 EDT (Fri, 31 May 2013)
New Revision: 84577
URL: http://svn.boost.org/trac/boost/changeset/84577
Log:
Use link to static files for the documentation files.
So that it can be separate from the zipfiles.
Text files modified:
website/public_html/beta/common/code/boost_config.php | 7 +++++++
website/public_html/beta/doc/display_libs.php | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
Modified: website/public_html/beta/common/code/boost_config.php
==============================================================================
--- website/public_html/beta/common/code/boost_config.php (original)
+++ website/public_html/beta/common/code/boost_config.php 2013-05-31 14:41:21 EDT (Fri, 31 May 2013)
@@ -20,6 +20,9 @@
ARCHIVE_FILE_PREFIX
Prefix for the root directory in the Boost ZIP archives.
+
+STATIC_DIR
+ Path to static copies of boost.
*/
switch (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '')
@@ -50,4 +53,8 @@
}
}
+if (!defined('STATIC_DIR')) {
+ define('STATIC_DIR', dirname(__FILE__).'/../../doc/archives');
+}
+
?>
Modified: website/public_html/beta/doc/display_libs.php
==============================================================================
--- website/public_html/beta/doc/display_libs.php (original)
+++ website/public_html/beta/doc/display_libs.php 2013-05-31 14:41:21 EDT (Fri, 31 May 2013)
@@ -88,6 +88,7 @@
),
array(
'fix_dir' => dirname(__FILE__).'/fixes',
+ 'archive_dir' => STATIC_DIR,
'use_http_expire_date' => true,
'zipfile' => false,
)
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