|
|
@ -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) |
|
|
|