summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-09 05:18:42 +0200
committermh <mh@immerda.ch>2011-10-09 05:18:42 +0200
commit7de7f1e01766acf0105be8854653f39babd46c12 (patch)
treeadbe3fcd7666bf096589aad1e4391add68a6bebf /templates
parent5fd2611fa89bcafaeeb921f58bd495602f664f0c (diff)
we should take the key not the value :/
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/partials/php_settings.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhosts/partials/php_settings.erb b/templates/vhosts/partials/php_settings.erb
index 77a4253..3a1ab5c 100644
--- a/templates/vhosts/partials/php_settings.erb
+++ b/templates/vhosts/partials/php_settings.erb
@@ -1,6 +1,6 @@
<% if run_mode != 'fcgid'
php_settings.keys.sort.each do |key|
- dvalue = php_settings[value].to_s.downcase
+ dvalue = php_settings[keys].to_s.downcase
munged_value = if dvalue == 'true'
'on'
elsif dvalue == 'false'