diff options
author | Friendika <info@friendika.com> | 2011-08-01 21:02:25 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-01 21:02:25 -0700 |
commit | 2637831d9056862f7c3db718702116ef4652629a (patch) | |
tree | 2ee4076e6aeec3f79c64152abcce0ec284ef295f /mod/register.php | |
parent | 8b31ff15f51c6936daedf28cc88c753214b569e0 (diff) | |
download | volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.tar.gz volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.tar.bz2 volse-hubzilla-2637831d9056862f7c3db718702116ef4652629a.zip |
some more zot changes migrating back to f9a mainline
Diffstat (limited to 'mod/register.php')
-rw-r--r-- | mod/register.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/register.php b/mod/register.php index 0906395d2..a8d81f1f6 100644 --- a/mod/register.php +++ b/mod/register.php @@ -373,7 +373,7 @@ function register_post(&$a) { if($res) { info( t('Registration successful. Please check your email for further instructions.') . EOL ) ; - goaway($a->get_baseurl()); + goaway(z_root()); } else { notice( t('Failed to send email message. Here is the message that failed.') . $email_tpl . EOL ); @@ -382,7 +382,7 @@ function register_post(&$a) { elseif($a->config['register_policy'] == REGISTER_APPROVE) { if(! strlen($a->config['admin_email'])) { notice( t('Your registration can not be processed.') . EOL); - goaway($a->get_baseurl()); + goaway(z_root()); } $hash = random_string(); @@ -428,7 +428,7 @@ function register_post(&$a) { if($res) { info( t('Your registration is pending approval by the site owner.') . EOL ) ; - goaway($a->get_baseurl()); + goaway(z_root()); } } |