after login from arbitrary page, send back to that page

This commit is contained in:
Mike Macgirvin 2010-10-09 01:05:53 -07:00
parent 9dc0e659d6
commit 948cb29302
2 changed files with 4 additions and 2 deletions

View File

@ -71,8 +71,8 @@ else {
$a->cid = $r[0]['id'];
$_SESSION['cid'] = $a->cid;
}
if(($a->module !== 'home') && isset($_SESSION['return_url']))
goaway($a->get_baseurl() . '/' . $_SESSION['return_url']);
}
}

View File

@ -97,7 +97,9 @@ blockquote:before {
#sysmsg {
width: 600px;
margin-bottom: 10px;
}
#top-margin {
height: 20px;
}