https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move App to src
[friendica.git/.git]
/
mod
/
randprof.php
1
<?php
2
3
use Friendica\App;
4
5
function randprof_init(App $a) {
6
require_once('include/Contact.php');
7
8
$x = random_profile();
9
10
if ($x) {
11
goaway(zrl($x));
12
}
13
14
goaway(App::get_baseurl() . '/profile');
15
}