after login from arbitrary page, send back to that page
This commit is contained in:
parent
9dc0e659d6
commit
948cb29302
2 changed files with 4 additions and 2 deletions
|
@ -71,8 +71,8 @@ else {
|
||||||
$a->cid = $r[0]['id'];
|
$a->cid = $r[0]['id'];
|
||||||
$_SESSION['cid'] = $a->cid;
|
$_SESSION['cid'] = $a->cid;
|
||||||
}
|
}
|
||||||
|
if(($a->module !== 'home') && isset($_SESSION['return_url']))
|
||||||
|
goaway($a->get_baseurl() . '/' . $_SESSION['return_url']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,9 @@ blockquote:before {
|
||||||
|
|
||||||
#sysmsg {
|
#sysmsg {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#top-margin {
|
#top-margin {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue