18 lines
335 B
PHP
18 lines
335 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* This file is here solely to protect your attachments directory.
|
||
|
*/
|
||
|
|
||
|
// Look for Settings.php....
|
||
|
if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
|
||
|
{
|
||
|
// Found it!
|
||
|
require(dirname(dirname(__FILE__)) . '/Settings.php');
|
||
|
header('location: ' . $boardurl);
|
||
|
}
|
||
|
// Can't find it... just forget it.
|
||
|
else
|
||
|
exit;
|
||
|
|
||
|
?>
|