index.php 324 B

1234567891011121314
  1. <?php
  2. // This file is here solely to protect your attachments directory.
  3. // Look for Settings.php....
  4. if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
  5. {
  6. // Found it!
  7. require(dirname(dirname(__FILE__)) . '/Settings.php');
  8. header('Location: ' . $boardurl);
  9. }
  10. // Can't find it... just forget it.
  11. else
  12. exit;