Browse Source

Fix --php7 major issue

master
Prabuddha Chakraborty 9 years ago
parent
commit
ef816eeeb7
  1. 2
      ee/cli/plugins/site_functions.py

2
ee/cli/plugins/site_functions.py

@ -1161,7 +1161,7 @@ def detSitePar(opts):
if not typelist and not cachelist: if not typelist and not cachelist:
sitetype = None sitetype = None
cachetype = None cachetype = None
elif (not typelist) and cachelist: elif (not typelist or "php7" in typelist) and cachelist:
sitetype = 'wp' sitetype = 'wp'
cachetype = cachelist[0] cachetype = cachelist[0]
elif typelist and (not cachelist): elif typelist and (not cachelist):

Loading…
Cancel
Save