Browse Source

Fix unnecessary comparison against boolean in vhosts/standard.tmpl

master
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

{% if site.get('DocumentRoot') != False %}DocumentRoot {{ vals.DocumentRoot }}{% endif %} {% if site.get('DocumentRoot') != False %}DocumentRoot {{ vals.DocumentRoot }}{% endif %}
{% if site.get('VirtualDocumentRoot') %}VirtualDocumentRoot {{ vals.VirtualDocumentRoot }}{% endif %} {% if site.get('VirtualDocumentRoot') %}VirtualDocumentRoot {{ vals.VirtualDocumentRoot }}{% endif %}


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

Loading…
Cancel
Save