2012-04-11 03:50:31 +00:00
|
|
|
<?php
|
|
|
|
|
2016-02-07 14:11:34 +00:00
|
|
|
|
2016-12-20 09:58:55 +00:00
|
|
|
function randprof_init(App &$a) {
|
2012-04-11 03:50:31 +00:00
|
|
|
require_once('include/Contact.php');
|
|
|
|
$x = random_profile();
|
|
|
|
if($x)
|
2012-04-14 12:07:00 +00:00
|
|
|
goaway(zrl($x));
|
2016-12-19 13:26:13 +00:00
|
|
|
goaway(App::get_baseurl() . '/profile');
|
2012-04-11 03:50:31 +00:00
|
|
|
}
|