aboutsummaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-07-20 08:51:38 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-07-20 08:51:38 +0200
commit1a096c96c20933884fb1a22704d75df0ed8a306f (patch)
tree74900d9a7b3b9e0bacaee835580d9424fc5eed13 /index.cgi
parent231da940da1842740b842a06d126d3562b5b7822 (diff)
Care about possible other ports and protocol
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.cgi b/index.cgi
index c6b3bfb..5585f67 100755
--- a/index.cgi
+++ b/index.cgi
@@ -70,7 +70,7 @@ if $cgi.include?("create_poll") && $cgi.include?("poll_url")
Dir.chdir("..")
$d.html.header["status"] = "REDIRECT"
$d.html.header["Cache-Control"] = "no-cache"
- $d.html.header["Location"] = SITEURL + POLLURL+ "/edit_columns.cgi"
+ $d.html.header["Location"] = SITEURL + POLLURL + "/edit_columns.cgi"
$d << _("The poll was created successfully. The link to your new poll is: %{link}") % {:link => "<br /><a href=\"#{POLLURL}\">#{POLLURL}</a>"}
end
end