| 7 file.inc | file_build_uri($path) |
| 8 file.inc | file_build_uri($path) |
Given a relative path, construct a URI into Drupal's default files location.
Related topics
3 functions call file_build_uri()
File
- includes/
file.inc, line 931 - API for handling file uploads and server file management.
Code
<?php
function file_build_uri($path) {
$uri = file_default_scheme() . '://' . $path;
return file_stream_wrapper_uri_normalize($uri);
}
?>Login or register to post comments