remove sort array in location_custom_cfg_*
This commit is contained in:
parent
22b3f5a8c6
commit
d340eea512
2 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
<% if @location_deny -%><% @location_deny.each do |deny_rule| -%>
|
||||
deny <%= deny_rule %>;
|
||||
<% end -%><% end -%>
|
||||
<% if @location_custom_cfg_prepend -%><% @location_custom_cfg_prepend.sort.each do |value| -%>
|
||||
<% if @location_custom_cfg_prepend -%><% @location_custom_cfg_prepend.each do |value| -%>
|
||||
<%= value %>
|
||||
<% end -%><% end -%>
|
||||
<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each do |key,value| -%>
|
||||
|
@ -35,7 +35,7 @@
|
|||
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%>
|
||||
<%= key %> <%= value %>;
|
||||
<% end -%><% end -%>
|
||||
<% if @location_custom_cfg_append -%><% @location_custom_cfg_append.sort.each do |value| -%>
|
||||
<% if @location_custom_cfg_append -%><% @location_custom_cfg_append.each do |value| -%>
|
||||
<%= value %>
|
||||
<% end -%><% end -%>
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each do |key,value| -%>
|
||||
<%= key %> <%= value %>;
|
||||
<% end -%><% end -%>
|
||||
<% if @location_custom_cfg_prepend -%><% @location_custom_cfg_prepend.sort.each do |value| -%>
|
||||
<% if @location_custom_cfg_prepend -%><% @location_custom_cfg_prepend.each do |value| -%>
|
||||
<%= value %>
|
||||
<% end -%><% end -%>
|
||||
<% if defined? @www_root -%>
|
||||
|
@ -22,7 +22,7 @@
|
|||
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%>
|
||||
<%= key %> <%= value %>;
|
||||
<% end -%><% end -%>
|
||||
<% if @location_custom_cfg_append -%><% @location_custom_cfg_append.sort.each do |value| -%>
|
||||
<% if @location_custom_cfg_append -%><% @location_custom_cfg_append.each do |value| -%>
|
||||
<%= value %>
|
||||
<% end -%><% end -%>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue