<?php
$uaAndroidAutomation = ((string)($_GET['ua_android'] ?? '') === '1') || stripos((string)($_SERVER['HTTP_USER_AGENT'] ?? ''), 'NetworkCustomersAndroid/') !== false;
header('Location: automation_billing.php' . ($uaAndroidAutomation ? '?ua_android=1' : ''));
exit;
