Remove all calls to checkUploadedFile()

This commit is contained in:
Kijin Sung 2016-03-12 21:03:26 +09:00
parent 37c07f7b6e
commit 5d7853645a
9 changed files with 15 additions and 51 deletions

View file

@ -44,7 +44,7 @@ class rssAdminController extends rss
$total_config->image = '';
}
// Ignore if the file is not the one which has been successfully uploaded
if($image_obj['tmp_name'] && is_uploaded_file($image_obj['tmp_name']) && checkUploadedFile($image_obj['tmp_name']))
if($image_obj['tmp_name'] && is_uploaded_file($image_obj['tmp_name']))
{
// Ignore if the file is not an image (swf is accepted ~)
$image_obj['name'] = Context::convertEncodingStr($image_obj['name']);