summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/partials/php_settings.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/vhosts/partials/php_settings.erb b/templates/vhosts/partials/php_settings.erb
index ae50bf8..7840987 100644
--- a/templates/vhosts/partials/php_settings.erb
+++ b/templates/vhosts/partials/php_settings.erb
@@ -1,5 +1,5 @@
<% if run_mode != 'fcgid'
- php_settings.keys.sort.each do |key|
+ php_settings.reject{|k,v| v == :undef }.keys.sort.each do |key|
dvalue = php_settings[key].to_s.downcase
munged_value = if dvalue == 'true'
'on'
@@ -16,4 +16,4 @@
php_admin_value <%= key %> <%= munged_value %>
<% end -%>
<% end -%>
-<% end -%> \ No newline at end of file
+<% end -%>