mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
@@ -111,7 +111,7 @@ function resize_image($source_file, $destination_file, $type = "upload", $model
|
||||
{
|
||||
if (($result = mimeFromFilename($source_file)) === FALSE) { return FALSE; }
|
||||
header($result);
|
||||
if (@readfile($source_file) === FALSE) { return FALSE; }
|
||||
if (e_shims::readfile($source_file) === FALSE) { return FALSE; }
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user