浏览代码

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 %}

正在加载...
取消
保存