interim commit after pull from server

darcs-hash:20080530142324-84dde-782c9f04f551447514f1557b9e80f8461a17771f.gz
This commit is contained in:
Evan Prodromou
2008-05-30 10:23:24 -04:00
parent 9210f95633
commit c501b7b925
8 changed files with 45 additions and 10 deletions

View File

@@ -525,6 +525,16 @@ function common_mtrand($bytes) {
return $enc;
}
function common_set_returnto($url) {
common_ensure_session();
$_SESSION['returnto'] = $url;
}
function common_get_returnto() {
common_ensure_session();
return $_SESSION['returnto'];
}
function common_timestamp() {
return date('YmdHis');
}