urlFromComponents()
urlFromComponents(string $path, string $url) : string
Parses a section URL (e.g. the "uploads" directory) and a full file path and produces the URL to the file
Parameters
| string |
$path |
The full path to the file |
| string |
$url |
The URL to a section |
Returns
string