aboutsummaryrefslogtreecommitdiff
path: root/not_found.cgi
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2016-10-14 20:25:31 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2016-10-14 20:25:31 +0200
commit387ef4164e534b9c8c4dd736cff31630f10ffd29 (patch)
treec7dd88174ca81a9e2c184b88b40d52d98008f520 /not_found.cgi
parent2f84860dd300d6da024666053c5ce5149122097f (diff)
do not load extensions on errors
Diffstat (limited to 'not_found.cgi')
-rwxr-xr-xnot_found.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/not_found.cgi b/not_found.cgi
index 5ffb37b..0648275 100755
--- a/not_found.cgi
+++ b/not_found.cgi
@@ -21,9 +21,9 @@
require_relative "dudle"
if File.exists?(Dir.pwd + File.dirname(ENV["REDIRECT_URL"]))
- $d = Dudle.new(:hide_lang_chooser => true)
+ $d = Dudle.new(:hide_lang_chooser => true, :load_extensions => false)
else
- $d = Dudle.new(:hide_lang_chooser => true, :relative_dir => "../")
+ $d = Dudle.new(:hide_lang_chooser => true, :load_extensions => false, :relative_dir => "../")
end
title = _("Poll Not Found")