Fix wo clean

This commit is contained in:
VirtuBox
2019-12-04 03:40:17 +01:00
parent acdc85ec2d
commit 5aa3de8c8b
2 changed files with 15 additions and 4 deletions

View File

@@ -78,13 +78,13 @@ class WOCleanController(CementBaseController):
try:
Log.info(self, "Cleaning opcache")
opgui = requests.get(
"https://127.0.0.1:22222/cache/opcache/opgui.php?reset=1")
"http://127.0.0.1/cache/opcache/opgui.php?reset=1")
if opgui.status_code != '200':
Log.warn(self, 'Cleaning opcache failed')
except Exception as e:
Log.debug(self, "{0}".format(e))
Log.debug(self, "Unable hit url, "
" https://127.0.0.1:22222/cache/opcache/"
" https://127.0.0.1/cache/opcache/"
"opgui.php?reset=1,"
" please check you have admin tools installed")
Log.debug(self, "please check you have admin tools installed,"