Update storage.php

This commit is contained in:
Namhyeon Go 2019-10-11 21:44:15 +09:00 committed by GitHub
parent 584dcbfa0a
commit bc5a359434
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,6 +305,10 @@ if(!check_function_exists("write_storage_file")) {
$result = basename($result);
}
if(array_key_equals("url", $options, true)) {
$result = sprintf("%s/%s", $upload_base_url, get_safe_path($filename));
}
return $result;
}
}