Unverified Commit 41a79b24 authored by MegaS0ra's avatar MegaS0ra Committed by GitHub
Browse files

Replaced mimetype for OS X compatibility

parent 2af82575
<?php if ($_REQUEST['email'] != "" && $_REQUEST['nom'] != "" && filter_var($_REQUEST['email'], FILTER_VALIDATE_EMAIL)): ?>
<?php
header('Content-Type: text/plain');
header('Content-Type: application/x-apple-aspen-config');
header("Content-Disposition: attachment; filename=\"".$_REQUEST['email'].".mobileconfig\"");
$conf = file_get_contents('iphone.mobileconfig');
$conf = str_replace('%email%', $_REQUEST['email'], $conf);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment