Browse Source

Update mobileconfig.php

André Peters 8 years ago
parent
commit
27c169dbe1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      data/web/mobileconfig.php

+ 2 - 0
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.");
   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"');