Fixed php init vars bad order on fcgid backend
This commit is contained in:
parent
dbf64f2562
commit
f9c6a5b9cc
|
@ -46,7 +46,7 @@ class PHPFcgidBackend(WebAppServiceMixin, ServiceController):
|
|||
context = super(PHPFcgidBackend, self).get_context(webapp)
|
||||
init_vars = self.get_php_init_vars(webapp)
|
||||
if init_vars:
|
||||
init_vars = [ '%s="%s"' % (k,v) for v,k in init_vars ]
|
||||
init_vars = [ '%s="%s"' % (k,v) for k,v in init_vars ]
|
||||
init_vars = ', -d '.join(init_vars)
|
||||
context['init_vars'] = '-d %s' % init_vars
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue