SproutCMS

This is the code documentation for the SproutCMS project

function replaceFileUrls()

Replace file URLs
FROM: files/1702_icon_joint.small.png
TO: file/download/1702/small

Usage

string ImportCMS::replaceFileUrls ( string $html );

Arguments

  1. string $html
    HTML content

Return value

  • string
    HTML with replaced file URLs