Browse Source

Fixed wrong values in data variable

bugfixes
gau1991 10 years ago
parent
commit
16c26cc2eb
  1. 14
      ee/cli/plugins/site.py

14
ee/cli/plugins/site.py

@ -921,40 +921,44 @@ class EESiteUpdateController(CementBaseController):
currcachetype=oldcachetype,
webroot=ee_site_webroot)
if stype == 'basic':
data['basic'] = True
if stype == 'php' or stype == 'mysql':
data['static'] = False
data['wp'] = False
data['multisite'] = False
data['wpsubdir'] = False
elif stype == 'wp':
data['basic'] = False
data['static'] = False
data['wp'] = True
data['multisite'] = False
data['wpsubdir'] = False
elif stype == 'wpsubdir':
data['basic'] = False
data['static'] = False
data['wp'] = True
data['multisite'] = True
data['wpsubdir'] = True
elif stype == 'wpsubdomain':
data['basic'] = False
data['static'] = False
data['wp'] = True
data['multisite'] = True
data['wpsubdir'] = False
if cache == 'basic':
data['basic'] = True
data['w3tc'] = False
data['wpfc'] = False
data['wpsc'] = False
elif cache == 'w3tc':
data['basic'] = False
data['w3tc'] = True
data['wpfc'] = False
data['wpsc'] = False
elif cache == 'wpfc':
data['basic'] = False
data['w3tc'] = False
data['wpfc'] = True
data['wpsc'] = False
elif cache == 'wpsc':
data['basic'] = False
data['w3tc'] = False
data['wpfc'] = False
data['wpsc'] = True

Loading…
Cancel
Save