friendica/mod/randprof.php
2016-12-20 10:19:20 +01:00

10 lines
171 B
PHP

<?php
function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
goaway(zrl($x));
goaway(App::get_baseurl() . '/profile');
}