2012-04-10 23:50:31 -04:00
|
|
|
<?php
|
|
|
|
|
2016-02-05 15:52:39 -05:00
|
|
|
if(! function_exists('randprof_init')) {
|
2012-04-10 23:50:31 -04:00
|
|
|
function randprof_init(&$a) {
|
|
|
|
require_once('include/Contact.php');
|
|
|
|
$x = random_profile();
|
|
|
|
if($x)
|
2012-04-14 08:07:00 -04:00
|
|
|
goaway(zrl($x));
|
2012-04-10 23:50:31 -04:00
|
|
|
goaway($a->get_baseurl() . '/profile');
|
|
|
|
}
|
2016-02-05 15:52:39 -05:00
|
|
|
}
|