Browse Source

Fix unnecessary comparison against boolean in vhosts/standard.tmpl

tags/v0.37.4
Mosen 9 years ago
parent
commit
d4b1af0af4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      apache/vhosts/standard.tmpl

+ 2
- 2
apache/vhosts/standard.tmpl View File

@@ -48,10 +48,10 @@
{% if site.get('DocumentRoot') != False %}DocumentRoot {{ vals.DocumentRoot }}{% endif %}
{% if site.get('VirtualDocumentRoot') %}VirtualDocumentRoot {{ vals.VirtualDocumentRoot }}{% endif %}

{% if site.get('SSLCertificateFile') != False %}
{% if site.get('SSLCertificateFile') %}
SSLEngine on
SSLCertificateFile {{ site.SSLCertificateFile }}
{% if site.get('SSLCertificateKeyFile') != False %}
{% if site.get('SSLCertificateKeyFile') %}
SSLCertificateKeyFile {{ site.SSLCertificateKeyFile }}
{% endif %}
{% endif %}

Loading…
Cancel
Save