diff options
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 |