1 <% if @php_values and not @php_values.empty? -%>
2 <%- @php_values.sort.each do |key,value| -%>
3 php_value <%= key %> <%= value %>
6 <% if @php_flags and not @php_flags.empty? -%>
7 <%- @php_flags.sort.each do |key,flag| -%>
8 <%-# normalize flag -%>
9 <%- if flag =~ /true|yes|on|1/i then flag = 'on' else flag = 'off' end -%>
10 php_flag <%= key %> <%= flag %>