Browse Source

after login from arbitrary page, send back to that page

pull/1/head
Mike Macgirvin 12 years ago
parent
commit
948cb29302
  1. 4
      include/auth.php
  2. 2
      view/theme/default/style.css

4
include/auth.php

@ -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']);
}
}

2
view/theme/default/style.css

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

Loading…
Cancel
Save