Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-10-23 00:05:33


Author: grafik
Date: 2007-10-23 00:05:32 EDT (Tue, 23 Oct 2007)
New Revision: 40330
URL: http://svn.boost.org/trac/boost/changeset/40330

Log:
Add access to web check results.
Text files modified:
   website/public_html/beta/development/webcheck_results.php | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: website/public_html/beta/development/webcheck_results.php
==============================================================================
--- website/public_html/beta/development/webcheck_results.php (original)
+++ website/public_html/beta/development/webcheck_results.php 2007-10-23 00:05:32 EDT (Tue, 23 Oct 2007)
@@ -7,9 +7,9 @@
 $p=substr($_SERVER["PATH_INFO"],1);
 if ($p)
 {
- if (preg_match('@[.](html|htm)$@i')) { header('Content-type: text/html'); }
- else if (preg_match('@[.](css)$@i')) { header('Content-type: text/css'); }
- else if (preg_match('@[.](js)$@i')) { header('Content-type: application/x-javascript'); }
+ 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));
 }
 ?>
\ No newline at end of file


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