News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

login problem, 2.0 RC1-1

Started by trmermer, July 01, 2009, 09:22:52 AM

Previous topic - Next topic

trmermer

login when logging in homepage where you will not be directed to continue on that page are

This subsection of the code applied in the case where input will make this another way to artificially direction of my homepage where members have logged on that page if you want to continue the version 2.0 RC1-1

LogInOut.php'de..
Bul:
if (isset($_SESSION['old_url']) && (strstr($_SESSION['old_url'], 'board=') !== false || strstr($_SESSION['old_url'], 'topic=') !== false))
$_SESSION['login_url'] = $_SESSION['old_url'];
else
unset($_SESSION['login_url']);


Değiştir:
if (isset($_SESSION['old_url']))
$_SESSION['login_url'] = $_SESSION['old_url'];
else
unset($_SESSION['login_url']);



Advertisement: