friendica/mod/randprof.php
2016-12-19 14:27:16 +01:00

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