X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregmod.php;h=bbe733003a56dfe11ea9affceabd03f7be00fcb0;hb=b628e82465b5bcb6e325c3982e4c87c7bb4f845e;hp=53e6716f265c7be0cbec9eb6a7a6b18abd635b9e;hpb=c311db4420d40af0d5b6a7c44d29a3156683765a;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php index 53e6716f26..bbe733003a 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -36,8 +36,8 @@ 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'))) - proc_run('php',"include/directory.php","$url"); + if($url && strlen(get_config('system','directory'))) + proc_run(PRIORITY_LOW, "include/directory.php", $url); } push_lang($register[0]['language']); @@ -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(); } }