Sfoglia il codice sorgente

Fix unnecessary comparison against boolean in vhosts/standard.tmpl

tags/v0.37.4
Mosen 9 anni fa
parent
commit
d4b1af0af4
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      apache/vhosts/standard.tmpl

+ 2
- 2
apache/vhosts/standard.tmpl Vedi 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…
Annulla
Salva