🔥 remove airtime.pro servername check in setup

This commit is contained in:
Lucas Bickel 2019-08-18 14:44:20 +02:00
parent e232469551
commit a04566cb17
1 changed files with 0 additions and 6 deletions

View File

@ -69,12 +69,6 @@ if (file_exists($filename)) {
}
// Otherwise, we'll need to run our configuration setup
else {
// Sometimes we can get into a weird NFS state where a station's airtime.conf has
// been neg-cached - redirect to a 404 instead until the NFS cache is updated
if (strpos($_SERVER['SERVER_NAME'], "airtime.pro") !== false) {
header($_SERVER['SERVER_PROTOCOL'] . ' 404 Page Not Found', true, 404);
exit;
}
$airtimeSetup = true;
require_once(SETUP_PATH . 'setup-config.php');
}