/** * POST: /account/logoff */ public function logoffPost() { Authentication::signOut(); $args = explode('/', $_REQUEST['Url']); unset($args[0]); parent::redirectToUrlFromArray($args); }
/** * @param $args * GET: /misc/theme */ public function theme($args) { Theme::setTheme($args[0]); unset($args[0]); parent::redirectToUrlFromArray($args); }