From 60c2f219d5531873899fed29e4ddc6d52ab7e268 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 5 Dec 2008 19:24:43 +0000 Subject: ignore absent --- templates/vhosts/php/CentOS.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/vhosts/php') diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb index a3f6e63..4519188 100644 --- a/templates/vhosts/php/CentOS.erb +++ b/templates/vhosts/php/CentOS.erb @@ -13,7 +13,7 @@ /"> AllowOverride <%= allow_override %> <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%> - Options <%= options %> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%> + Options <%- unless options.to_s == 'absent' then -%><%= options %><%- end -%> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%> <%- end -%> <%- unless htpasswd_file.to_s == 'absent' then -%> -- cgit v1.2.3