annotate forum/Sources/index.php @ 87:df86d318892b website

Link to SampleType doc
author Chris Cannam
date Mon, 10 Feb 2014 18:11:48 +0000
parents e3e11437ecea
children
rev   line source
Chris@76 1 <?php
Chris@76 2
Chris@76 3 // This file is here solely to protect your Sources directory.
Chris@76 4
Chris@76 5 // Look for Settings.php....
Chris@76 6 if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
Chris@76 7 {
Chris@76 8 // Found it!
Chris@76 9 require(dirname(dirname(__FILE__)) . '/Settings.php');
Chris@76 10 header('Location: ' . $boardurl);
Chris@76 11 }
Chris@76 12 // Can't find it... just forget it.
Chris@76 13 else
Chris@76 14 exit;
Chris@76 15
Chris@76 16 ?>