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 --- pyLoadCore.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index bcc88814b..9501631f8 100644 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -113,7 +113,10 @@ class Core(object): self.config['general']['debug_mode'] = True self.parser_plugins = XMLConfigParser(self.make_path("module", "config", "plugin.xml")) #~ self.config_plugins = self.parser_plugins.getConfig() - + + self.config['ssl']['cert'] = self.make_path(self.config['ssl']['cert']) + self.config['ssl']['key'] = self.make_path(self.config['ssl']['key']) + self.do_kill = False self.do_restart = False translation = gettext.translation("pyLoad", self.make_path("locale"), languages=[self.config['general']['language']]) @@ -394,7 +397,7 @@ class Core(object): return False def make_path(self, * args): - if isabs(args[0]): + if isabs(args[0]): return args[0] else: return join(self.path, * args) -- cgit v1.2.3