Skip to content

Commit

Permalink
Added jpeg to the filetypes to match the explanation text
Browse files Browse the repository at this point in the history
  • Loading branch information
John leach committed Apr 12, 2012
1 parent 6abee98 commit 4f2f79b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ajax_upload.php
Expand Up @@ -27,7 +27,7 @@
check_page_auth($cms_page['page_id'], $cms_auth_level);

$upload_dir = POSTED_IMAGES_PATH;
$filetypes = 'jpg,gif,png';
$filetypes = 'jpg,jpeg,gif,png';
$maxsize = (1000 * 1024);

/* Results:
Expand Down Expand Up @@ -153,4 +153,4 @@
exit;
}

?>
?>

0 comments on commit 4f2f79b

Please sign in to comment.