diff --git a/data/web/mobileconfig.php b/data/web/mobileconfig.php index 198fa4d7..8d3d2655 100644 --- a/data/web/mobileconfig.php +++ b/data/web/mobileconfig.php @@ -9,6 +9,8 @@ if (!isset($_SESSION['mailcow_cc_role']) || $_SESSION['mailcow_cc_role'] != 'use die("This page is only available to logged-in users, not admins."); } +error_reporting(0); + header('Content-Type: application/x-apple-aspen-config'); header('Content-Disposition: attachment; filename="Mailcow.mobileconfig"');