Update mobileconfig.php

master
André Peters 2017-07-24 12:35:56 +02:00 committed by GitHub
parent bfa2e83803
commit 27c169dbe1
1 changed files with 2 additions and 0 deletions

View File

@ -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."); 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-Type: application/x-apple-aspen-config');
header('Content-Disposition: attachment; filename="Mailcow.mobileconfig"'); header('Content-Disposition: attachment; filename="Mailcow.mobileconfig"');