2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-19 04:42:17 +00:00
Files
website/development/webcheck_results.php
Daniel James 40688e1552 Update links for https
Mostly in comments. Might be better to use relative links from html.
2018-04-13 09:14:48 +01:00

16 lines
582 B
PHP

<?php
/*
Copyright 2007 Redshift Software, Inc.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or https://www.boost.org/LICENSE_1_0.txt)
*/
$p=substr($_SERVER["ORIG_PATH_INFO"],1);
if ($p)
{
if (preg_match('@[.](html|htm)$@i',$p)) { header('Content-type: text/html'); }
else if (preg_match('@[.](css)$@i',$p)) { header('Content-type: text/css'); }
else if (preg_match('@[.](js)$@i',$p)) { header('Content-type: application/x-javascript'); }
readfile("/home/grafik/www.boost.org/testing/webcheck/".basename($p));
}
?>