Mercurial > hg > vamp-website
annotate forum/Sources/index.php @ 76:e3e11437ecea website
Add forum code
| author | Chris Cannam |
|---|---|
| date | Sun, 07 Jul 2013 11:25:48 +0200 |
| parents | |
| 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 ?> |
