X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregmod.php;h=5a90db1f902d0b0265d26c1da3104bb1b5ce3e70;hb=26983bafff024adab0339b828ec21d83fc5d1007;hp=53e6716f265c7be0cbec9eb6a7a6b18abd635b9e;hpb=a3f757808584145287f38934a68692e43c02fd22;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php index 53e6716f26..5a90db1f90 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -36,7 +36,7 @@ function user_allow($hash) { ); 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"); } @@ -121,13 +121,13 @@ function regmod_content(&$a) { 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(); } }