mirror of
https://github.com/boostorg/website.git
synced 2026-01-26 19:12:15 +00:00
22 lines
446 B
PHP
22 lines
446 B
PHP
<?php
|
|
|
|
if (strpos($_SERVER['REQUEST_URI'], '//') !== FALSE)
|
|
{
|
|
header("Location: http://$_SERVER[HTTP_HOST]".
|
|
preg_replace('@//+@','/', $_SERVER['REQUEST_URI']),
|
|
TRUE, 301);
|
|
exit(0);
|
|
}
|
|
|
|
require_once(dirname(__FILE__) . '/../common/code/bootstrap.php');
|
|
|
|
$archive = new BoostDocumentation(array(
|
|
'boost-root' => '../libs/release/',
|
|
));
|
|
|
|
$archive->display_from_archive(
|
|
array(
|
|
array('', '@[.](html|htm)$@i','basic','text/html')
|
|
)
|
|
);
|