forked from GNUsocial/gnu-social
interim commit after pull from server
darcs-hash:20080530142324-84dde-782c9f04f551447514f1557b9e80f8461a17771f.gz
This commit is contained in:
10
lib/util.php
10
lib/util.php
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user