1.20.x file.inc | file_build_uri($path) |
Constructs a URI to Backdrop's default files location given a relative path.
Related topics
File
- includes/
file.inc, line 1007 - API for handling file uploads and server file management.
Code
function file_build_uri($path) {
$uri = file_default_scheme() . '://' . $path;
return file_stream_wrapper_uri_normalize($uri);
}