SproutCMS

This is the code documentation for the SproutCMS project

function checkRedirect()

Checks a URL that is to be used for redirection is valid.

Will allow remote URLs beginning with 'http://' and local URLs beginning with '/'

Usage

unknown Sprout::checkRedirect ( mixed $text );

Arguments

  1. $text