Guardian · Mecha CMS

Basic security.

$guardian::abort()

Abort script execution.

$guardian::check()

Check token.

$guardian::hash()

Generate random hash.

$guardian::kick()

Redirect current page to different page.

$guardian::token()

Generate unique token and save it to session.