diff options
-rw-r--r-- | templates/vhosts/partials/header_default.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhosts/partials/header_default.erb b/templates/vhosts/partials/header_default.erb index 4b4bcc2..a9a87bc 100644 --- a/templates/vhosts/partials/header_default.erb +++ b/templates/vhosts/partials/header_default.erb @@ -15,6 +15,6 @@ <% if default_charset.to_s != 'absent' then -%> AddDefaultCharset <%= default_charset %> <% end -%> -<% unless passing_extension.to_s.empty? -%> +<% if has_variable?('passing_extension') && !passing_extension.to_s.empty? -%> DirectoryIndex index.htm index.html index.<%= passing_extension %> <% end -%>
\ No newline at end of file |