Browse Source

update site.py

master
Prabuddha Chakraborty 9 years ago
parent
commit
dfea52d34c
  1. 7
      ee/cli/plugins/site.py

7
ee/cli/plugins/site.py

@ -445,13 +445,16 @@ class EESiteCreateController(CementBaseController):
if stype in ['html', 'php' ] or self.app.pargs.php7:
data = dict(site_name=ee_domain, www_domain=ee_www_domain,
static=True, basic=False, wp=False, w3tc=False,
static=True, basic=False, php7=False, wp=False, w3tc=False,
wpfc=False, wpsc=False, multisite=False,
wpsubdir=False, webroot=ee_site_webroot)
if stype == 'php' or self.app.pargs.php7:
if stype == 'php':
data['static'] = False
data['basic'] = True
if self.app.pargs.php7:
data['static'] = False
data['php7'] = True
elif stype in ['mysql', 'wp', 'wpsubdir', 'wpsubdomain']:

Loading…
Cancel
Save