SproutCMS

This is the code documentation for the SproutCMS project

function relUrl()

Returns the relative public URL for a given file.
Doesn't contain ROOT/ or domain. Use for content areas.

Usage

string File::relUrl ( string $filename );

Arguments

  1. string $filename
    The name of the file in the repository

Return value

  • string