protected function getLoginRedirect()
    {
        $rtn = PHPCI_URL;

        if (!empty($_SESSION['phpci_login_redirect'])) {
            $rtn .= $_SESSION['phpci_login_redirect'];
            $_SESSION['phpci_login_redirect'] = null;
        }

        return $rtn;
    }
protected function getLoginRedirect()
    {
        $rtn = PHPCI_URL;

        if (!empty($_SESSION['phpci_login_redirect'])) {
            $rtn .= $_SESSION['phpci_login_redirect'];
            $_SESSION['phpci_login_redirect'] = null;
        }

        return $rtn;
    }
protected function getLoginRedirect ( ) { $ rtn = PHPCI_URL ; if ( ! empty ( $ _SESSION [ 'phpci_login_redirect' ] ) ) { $ rtn .= $ _SESSION [ 'phpci_login_redirect' ] ; $ _SESSION [ 'phpci_login_redirect' ] = null ; } return $ rtn ; }
Get the URL the user was trying to go to prior to being asked to log in.
@return string
Get the URL the user was trying to go to prior to being asked to log in .