Skip to content
Browse files

Updated php.ini template to use directives configuration.

  • Loading branch information...
1 parent 8134950 commit 24b23e53bf8bcb262bcf5a7d963536120b28ab39 @jakzal jakzal committed Feb 8, 2013
View
6 templates/centos/php.ini.erb
@@ -1218,4 +1218,8 @@ soap.wsdl_cache_ttl=86400
; Local Variables:
; tab-width: 4
-; End:
+; End:
+
+<% node['php']['directives'].each do |directive, value| -%>
+<%= "#{directive}=\"#{value}\"" %>
+<% end -%>
View
6 templates/debian/php.ini.erb
@@ -1850,4 +1850,8 @@ ldap.max_links = -1
; Local Variables:
; tab-width: 4
-; End:
+; End:
+
+<% node['php']['directives'].each do |directive, value| -%>
+<%= "#{directive}=\"#{value}\"" %>
+<% end -%>
View
4 templates/default/php.ini.erb
@@ -1894,3 +1894,7 @@ ldap.max_links = -1
; Local Variables:
; tab-width: 4
; End:
+
+<% node['php']['directives'].each do |directive, value| -%>
+<%= "#{directive}=\"#{value}\"" %>
+<% end -%>
View
6 templates/redhat/php.ini.erb
@@ -1218,4 +1218,8 @@ soap.wsdl_cache_ttl=86400
; Local Variables:
; tab-width: 4
-; End:
+; End:
+
+<% node['php']['directives'].each do |directive, value| -%>
+<%= "#{directive}=\"#{value}\"" %>
+<% end -%>
View
6 templates/ubuntu/php.ini.erb
@@ -1850,4 +1850,8 @@ ldap.max_links = -1
; Local Variables:
; tab-width: 4
-; End:
+; End:
+
+<% node['php']['directives'].each do |directive, value| -%>
+<%= "#{directive}=\"#{value}\"" %>
+<% end -%>

0 comments on commit 24b23e5

Please sign in to comment.
Something went wrong with that request. Please try again.