Results 1 to 3 of 3

Thread: Log In / Sign Up redirect

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2

    Default

    Hi,

    The following code will be solved that bug.

    Open login.php, add
    Code:
    if (isset($_SESSION['UID']) && !empty($_SESSION['UID']))
    {
        $redirect_url = VSHARE_URL . '/' . $_SESSION['USERNAME'];
        redirect($redirect_url);
    }
    after
    Code:
    require 'include/language/' . LANG . '/lang_login.php';
    then open signup.php, add the above code after
    Code:
    require 'include/language/' . LANG . '/lang_signup.php';
    Your Friendly,
    Buyscripts Team
    Last edited by vshare2; 12-13-2010 at 04:36 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •