Skip to content

Commit

Permalink
removed non working checks on ipa mimetype
Browse files Browse the repository at this point in the history
  • Loading branch information
pcans committed Apr 18, 2011
1 parent 2bbf8f2 commit 81cc69e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions back/application_new.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ function fillAppInfoWithPlist($plistfile, $application) {
echo 'Size: ' . ($_FILES['app_file']['size'] / 1024) . ' Kb<br />';
//echo 'Temp file: ' . $_FILES['app_file']['tmp_name'] . '<br />';

if ( $_FILES['app_file']['type'] == 'application/x-itunes-ipa' ) {
//echo 'Type: ' . $_FILES['app_file']['type'] . '<br />';
//if ( $_FILES['app_file']['type'] == 'application/x-itunes-ipa' ) {
$error = '';

// Configuration options
Expand Down Expand Up @@ -204,9 +205,9 @@ function fillAppInfoWithPlist($plistfile, $application) {
echo $error;
}

} else {
echo 'Error: This file is not an IPA file.<br />';
}
//} else {
// echo 'Error: This file is not an IPA file.<br />';
//}
}

} else {
Expand Down

0 comments on commit 81cc69e

Please sign in to comment.