I found a bug. When I'm logged in I typed http://.../login/ in the address bar, but the original login page appears, instead of redirecting me to the profile page. Thanks!
Printable View
I found a bug. When I'm logged in I typed http://.../login/ in the address bar, but the original login page appears, instead of redirecting me to the profile page. Thanks!
Hi,
The following code will be solved that bug.
Open login.php, add
afterCode:
if (isset($_SESSION['UID']) && !empty($_SESSION['UID']))
{
$redirect_url = VSHARE_URL . '/' . $_SESSION['USERNAME'];
redirect($redirect_url);
}
then open signup.php, add the above code afterCode:require 'include/language/' . LANG . '/lang_login.php';
Your Friendly,Code:require 'include/language/' . LANG . '/lang_signup.php';
Buyscripts Team
thank!!! It works!