SproutCMS

This is the code documentation for the SproutCMS project

function originCleanup()

Redirect to alternate hostname and/or protocol if requred

The actual business rules for the desired protocol/hostname is defined in
the BootstrapConfig class which is located at config/_bootstrap_config.php

Usage

void Router::originCleanup ( );

Return value

  • void
    Redirects (301) if protocol and/or hostname should change