]> git.mxchange.org Git - friendica.git/blobdiff - mod/regmod.php
DE update to the strings
[friendica.git] / mod / regmod.php
index 53e6716f265c7be0cbec9eb6a7a6b18abd635b9e..5a90db1f902d0b0265d26c1da3104bb1b5ce3e70 100644 (file)
@@ -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();
        }
 }