equal
deleted
inserted
replaced
101 XXX: missing looping tasks and proper repository shutdown when |
101 XXX: missing looping tasks and proper repository shutdown when |
102 the application is stopped. |
102 the application is stopped. |
103 NOTE: no pyro |
103 NOTE: no pyro |
104 """ |
104 """ |
105 |
105 |
106 def __init__(self, config, vreg=None): |
106 def __init__(self, config): |
107 self.appli = CubicWebPublisher(config, vreg=vreg) |
107 self.appli = CubicWebPublisher(config) |
108 self.config = config |
108 self.config = config |
109 self.base_url = self.config['base-url'] |
109 self.base_url = self.config['base-url'] |
110 self.https_url = self.config['https-url'] |
110 self.https_url = self.config['https-url'] |
111 self.url_rewriter = self.appli.vreg['components'].select_or_none('urlrewriter') |
111 self.url_rewriter = self.appli.vreg['components'].select_or_none('urlrewriter') |
112 |
112 |