瀏覽代碼

Fix unnecessary comparison against boolean in vhosts/standard.tmpl

master
Mosen 9 年之前
父節點
當前提交
d4b1af0af4
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      apache/vhosts/standard.tmpl

+ 2
- 2
apache/vhosts/standard.tmpl 查看文件

@@ -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…
取消
儲存