diff options
author | mh <mh@immerda.ch> | 2011-05-28 11:32:39 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-10-08 10:50:15 +0200 |
commit | 34df80bc271f7ed17de879e82b54f31a98926e08 (patch) | |
tree | 3619b16f376d4721f3fc560bda933960d1dbc188 /templates/vhosts/partials | |
parent | 00c67d3de29527a957ae6efb43b98c4fa10ffd90 (diff) |
first work on php_settings via hash
Diffstat (limited to 'templates/vhosts/partials')
-rw-r--r-- | templates/vhosts/partials/php_settings.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/vhosts/partials/php_settings.erb b/templates/vhosts/partials/php_settings.erb new file mode 100644 index 0000000..be4662a --- /dev/null +++ b/templates/vhosts/partials/php_settings.erb @@ -0,0 +1,7 @@ +<% php_settings.each do |key,value| -%> +<% if ['on','off' ].include?(value.downcase) -%> + php_admin_flag <%= key %> <%= value %> +<% else -%> + php_admin_value <%= key %> <%= value %> +<% end -%> +<% end -%>
\ No newline at end of file |