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