2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-27 07:22:15 +00:00
Files
website/doc/display_jam.php
Daniel James 6f6ff826b3 Hack the documentation code to server from unzipped files.
This is going to break the beta documentation. But that's okay, since it's the
beta site. Hopefully it might reduce the load on the server, which is still
high.


[SVN r64631]
2010-08-06 10:01:39 +00:00

10 lines
381 B
PHP

<?php
require_once(dirname(__FILE__) . '/../common/code/boost_archive.php');
display_from_archive(
get_archive_location('@^[/]([^/]+)[/](.*)$@',$_SERVER["PATH_INFO"],true,false),
array(
//~ array(version-regex,path-regex,raw|simple|text|cpp|boost_book_html|boost_libs_html,mime-type[,preprocess hook]),
array('@.*@','@[.](html|htm)$@i','boost_book_html','text/html'),
));