Browse Source

HHVM site creation

bugfixes
gau1991 10 years ago
parent
commit
db2c3675cd
  1. 9
      ee/cli/plugins/site.py

9
ee/cli/plugins/site.py

@ -245,6 +245,8 @@ class EESiteCreateController(CementBaseController):
(['--wpsc'],
dict(help="create wordpress single/multi site with wpsc cache",
action='store_true')),
(['--hhvm'],
dict(help="create HHVM site", action='store_true')),
]
@expose(hide=True)
@ -472,6 +474,13 @@ class EESiteCreateController(CementBaseController):
stype = 'wpsubdomain'
cache = 'wpsc'
if data and self.app.pargs.hhvm:
data[hhvm] = True
hhvm = True
else:
data[hhvm] = False
hhvm = False
if not data:
self.app.args.print_help()
self.app.close(1)

Loading…
Cancel
Save