Révision 30d5b9c5
Ajouté par Mathieu Schiano Di Schiabica il y a environ 8 ans
drupal7/modules/image/image.module | ||
---|---|---|
835 | 835 |
file_download($scheme, file_uri_target($derivative_uri)); |
836 | 836 |
} |
837 | 837 |
else { |
838 |
$headers = module_invoke_all('file_download', $image_uri);
|
|
839 |
if (in_array(-1, $headers) || empty($headers)) {
|
|
838 |
$headers = file_download_headers($image_uri);
|
|
839 |
if (empty($headers)) { |
|
840 | 840 |
return MENU_ACCESS_DENIED; |
841 | 841 |
} |
842 | 842 |
if (count($headers)) { |
Formats disponibles : Unified diff
Update to 7.42