mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-09-06 09:01:23 +00:00
Update Drupal 7 dependencies
This commit is contained in:
parent
7d902ba1ef
commit
13df912654
391 changed files with 2900 additions and 1502 deletions
|
@ -2082,7 +2082,7 @@ function file_download() {
|
|||
$target = implode('/', $args);
|
||||
$uri = $scheme . '://' . $target;
|
||||
$uri = file_uri_normalize_dot_segments($uri);
|
||||
if (file_stream_wrapper_valid_scheme($scheme) && file_exists($uri)) {
|
||||
if (file_stream_wrapper_valid_scheme($scheme) && is_file($uri)) {
|
||||
$headers = file_download_headers($uri);
|
||||
if (count($headers)) {
|
||||
file_transfer($uri, $headers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue