Browse Source

create wp site if cache type is provided

bugfixes
harshadyeola 10 years ago
parent
commit
f923f723b8
  1. 4
      ee/cli/plugins/site_functions.py

4
ee/cli/plugins/site_functions.py

@ -826,6 +826,10 @@ def detSitePar(opts):
elif typelist and (not cachelist):
sitetype = typelist[0]
cachetype = 'basic'
else:
if (cachelist[0] in ['wpfc', 'w3tc', 'wpsc']
and typelist[0] in ['html', 'php', 'mysql']):
sitetype = 'wp'
else:
sitetype = typelist[0]
cachetype = cachelist[0]

Loading…
Cancel
Save