|
|
@ -515,10 +515,10 @@ class EESiteCreateController(CementBaseController): |
|
|
|
data['pagespeed'] = False |
|
|
|
pagespeed = 0 |
|
|
|
|
|
|
|
if (cache == 'redis' not self.app.pargs.experimental) and : |
|
|
|
if (cache == 'redis' and (not self.app.pargs.experimental)): |
|
|
|
Log.info(self, "Redis is experimental feature and it may not" |
|
|
|
"work with all CSS/JS/Cache of your site.\nYou can " |
|
|
|
"disable it by passing --redis=off later.\nDo you wish" |
|
|
|
"disable it by changing cache later.\nDo you wish" |
|
|
|
" to enable Redis now for {0}?".format(ee_domain)) |
|
|
|
|
|
|
|
# Check prompt |
|
|
@ -1223,7 +1223,7 @@ class EESiteUpdateController(CementBaseController): |
|
|
|
" `tail /var/log/ee/ee.log` & Try Again!!!") |
|
|
|
return 1 |
|
|
|
|
|
|
|
if oldcachetype == 'redis' and not data['rediss']: |
|
|
|
if oldcachetype == 'redis' and not data['redis']: |
|
|
|
try: |
|
|
|
uninstallwp_plugin(self, 'redis-cache', data) |
|
|
|
except SiteError as e: |
|
|
|