From 7186f5cc9f502cbdaf1245a2820a7dfb434f4e49 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 16 Mar 2010 21:28:01 +0100 Subject: core ssl fix, nginx support, https for lighttpd and nginx --- module/web/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/web/settings.py') diff --git a/module/web/settings.py b/module/web/settings.py index 0e67e3674..b66015db0 100644 --- a/module/web/settings.py +++ b/module/web/settings.py @@ -8,7 +8,7 @@ import os.path import sys import xmlrpclib -SERVER_VERSION = "0.3.1" +SERVER_VERSION = "0.3.2" PROJECT_DIR = os.path.dirname(__file__) @@ -25,7 +25,7 @@ config = XMLConfigParser(os.path.join(PYLOAD_DIR,"module","config","core.xml")) ssl = "" -if config.get("ssl", "activated") == "True": +if config.get("ssl", "activated"): ssl = "s" server_url = "http%s://%s:%s@%s:%s/" % ( -- cgit v1.2.3