You just need to find out where the redirect is taking place and change that code. Normally the way I would find that is to put:
if ($login == "admin" || $login == "master") { echo "HERE: 1"; exit; }
if ($login == "admin" || $login == "master") { echo "HERE: 2"; exit; }
etc... Before the places I think it could be redirecting. Then you can find out which block of code to edit by logging in and seeing which number is displayed.
|