From a04566cb1772c7ba0e36836c738601f719aadb02 Mon Sep 17 00:00:00 2001 From: Lucas Bickel Date: Sun, 18 Aug 2019 14:44:20 +0200 Subject: [PATCH] :fire: remove airtime.pro servername check in setup --- airtime_mvc/public/index.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/airtime_mvc/public/index.php b/airtime_mvc/public/index.php index d03321107..836bb95de 100644 --- a/airtime_mvc/public/index.php +++ b/airtime_mvc/public/index.php @@ -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'); }