);
if(count($r) && $r[0]['net-publish']) {
$url = $a->get_baseurl() . '/profile/' . $user[0]['nickname'];
- if($url && strlen(get_config('system','directory_submit_url')))
+ if($url && strlen(get_config('system','directory')))
proc_run('php',"include/directory.php","$url");
}
if($cmd === 'deny') {
user_deny($hash);
- goaway("/admin/users/");
+ goaway($a->get_baseurl()."/admin/users/");
killme();
}
if($cmd === 'allow') {
user_allow($hash);
- goaway("/admin/users/");
+ goaway($a->get_baseurl()."/admin/users/");
killme();
}
}