From 7de7f1e01766acf0105be8854653f39babd46c12 Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 9 Oct 2011 05:18:42 +0200 Subject: we should take the key not the value :/ --- templates/vhosts/partials/php_settings.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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' -- cgit v1.2.3