diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2011-04-18 08:52:02 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2011-04-18 08:52:02 +0200 |
commit | 451383433d842f4a6734573a37aaf9098dd245c7 (patch) | |
tree | 5c0f3fab84181c700cdebffe8b6251ec030bf033 /participate.rb | |
parent | e8a6206719edc70b0ce7257da5b34471f7f8e71f (diff) |
complete change of configuration
Diffstat (limited to 'participate.rb')
-rwxr-xr-x | participate.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/participate.rb b/participate.rb index 5153f0d..6b37fae 100755 --- a/participate.rb +++ b/participate.rb @@ -55,8 +55,8 @@ end if edit $d.html.header["status"] = "REDIRECT" $d.html.header["Cache-Control"] = "no-cache" - $d.html.header["Location"] = SITEURL - $d << _("The changes were saved, you should be redirected to %{link}.") % {:link => "<a href=\"#{SITEURL}\">#{SITEURL}</a>"} + $d.html.header["Location"] = $conf.siteurl + $d << _("The changes were saved, you should be redirected to %{link}.") % {:link => "<a href=\"#{$conf.siteurl}\">#{$conf.siteurl}</a>"} else |