SproutCMS

This is the code documentation for the SproutCMS project

function filenameMakeSane()

Make a filename sane - strip lots of characters which create problems

Usage

string File::filenameMakeSane ( string $filename );

Arguments

  1. string $filename
    Filename which may or may not already be sane

Return value

  • string
    Sane filename