From 27c169dbe182ef7d6abd5d2d6fc62551a00e6ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Mon, 24 Jul 2017 12:35:56 +0200 Subject: [PATCH] Update mobileconfig.php --- data/web/mobileconfig.php | 2 ++ 1 file changed, 2 insertions(+) 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"');