From 9acb49ca5799d85b1f5d45f583a50010b93d4095 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 5 Apr 2019 10:02:39 +0200 Subject: [PATCH] fix opcache cache clean --- wo/cli/plugins/clean.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/clean.py b/wo/cli/plugins/clean.py index 58b1246..b434815 100644 --- a/wo/cli/plugins/clean.py +++ b/wo/cli/plugins/clean.py @@ -89,11 +89,12 @@ class WOCleanController(CementBaseController): try: Log.info(self, "Cleaning opcache") wp = urllib.request.urlopen(" https://127.0.0.1:22222/cache" - "/opcache/opgui.php?page=reset").read() + "/opcache/opgui.php?reset=1").read() except Exception as e: Log.debug(self, "{0}".format(e)) Log.debug(self, "Unable hit url, " - " https://127.0.0.1:22222/cache/opcache/opgui.php?page=reset," + " https://127.0.0.1:22222/cache/opcache/" + "opgui.php?reset=1," " please check you have admin tools installed") Log.debug(self, "please check you have admin tools installed," " or install them with `wo stack install --admin`")