Don't show status page on Airtime pro fix
This commit is contained in:
parent
771aeaacb6
commit
765a61d09f
|
@ -67,6 +67,7 @@ else {
|
||||||
// been neg-cached - redirect to a 404 instead until the NFS cache is updated
|
// been neg-cached - redirect to a 404 instead until the NFS cache is updated
|
||||||
if (strpos($_SERVER['SERVER_NAME'], "airtime.pro") !== false) {
|
if (strpos($_SERVER['SERVER_NAME'], "airtime.pro") !== false) {
|
||||||
header($_SERVER['SERVER_PROTOCOL'] . ' 404 Page Not Found', true, 404);
|
header($_SERVER['SERVER_PROTOCOL'] . ' 404 Page Not Found', true, 404);
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
$airtimeSetup = true;
|
$airtimeSetup = true;
|
||||||
require_once(SETUP_PATH . 'setup-config.php');
|
require_once(SETUP_PATH . 'setup-config.php');
|
||||||
|
|
Loading…
Reference in New Issue