SproutCMS

This is the code documentation for the SproutCMS project

function moveUpload()

Moves an uploaded file into the repository.
Returns TRUE on success, FALSE on failure.

Usage

bool File::moveUpload ( string $src , string $filename );

Arguments

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

Return value

  • bool
    True on success, false on failure