aboutsummaryrefslogtreecommitdiff
path: root/participate.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2011-04-18 08:52:02 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2011-04-18 08:52:02 +0200
commit451383433d842f4a6734573a37aaf9098dd245c7 (patch)
tree5c0f3fab84181c700cdebffe8b6251ec030bf033 /participate.rb
parente8a6206719edc70b0ce7257da5b34471f7f8e71f (diff)
complete change of configuration
Diffstat (limited to 'participate.rb')
-rwxr-xr-xparticipate.rb4
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