/** * Attempts to redirect the user to the last page they * were on. If there is no history, then processing continues. * * @return bool FALSE on failure. */ public static function back() { if (is::existset(munla::$session, 'lastpage') && strlen(munla::$session['lastpage']) > 0) { return go::url(munla::$session['lastpage']); } return false; }