index.php 335 B

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